Search Results for

    Show / Hide Table of Contents

    Class GraphDelegate<TShape, TMat>

    Allows creating additional API on top of an existing Graph by extending from this class and accessing the delegate

    Inheritance
    object
    GraphDelegate<TShape, TMat>
    FlowWithContext<TIn, TCtxIn, TOut, TCtxOut, TMat>
    SourceWithContext<TOut, TCtx, TMat>
    Implements
    IGraph<TShape, TMat>
    IGraph<TShape>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Streams
    Assembly: Akka.Streams.dll
    Syntax
    public abstract class GraphDelegate<TShape, TMat> : IGraph<TShape, TMat>, IGraph<TShape> where TShape : Shape
    Type Parameters
    Name Description
    TShape
    TMat

    Constructors

    | Edit this page View Source

    GraphDelegate(IGraph<TShape, TMat>)

    Declaration
    protected GraphDelegate(IGraph<TShape, TMat> inner)
    Parameters
    Type Name Description
    IGraph<TShape, TMat> inner

    Fields

    | Edit this page View Source

    Inner

    Declaration
    protected readonly IGraph<TShape, TMat> Inner
    Field Value
    Type Description
    IGraph<TShape, TMat>

    Properties

    | Edit this page View Source

    Module

    INTERNAL API: Every materializable element must be backed by a stream layout module

    Declaration
    public IModule Module { get; }
    Property Value
    Type Description
    IModule
    | Edit this page View Source

    Shape

    The shape of a graph is all that is externally visible: its inlets and outlets.

    Declaration
    public TShape Shape { get; }
    Property Value
    Type Description
    TShape

    Methods

    | Edit this page View Source

    AddAttributes(Attributes)

    Add the given attributes to this IGraph<TShape>. Further calls to WithAttributes(Attributes) will not remove these attributes. Note that this operation has no effect on an empty Flow (because the attributes apply only to the contained processing stages).

    Declaration
    public IGraph<TShape, TMat> AddAttributes(Attributes attributes)
    Parameters
    Type Name Description
    Attributes attributes

    TBD

    Returns
    Type Description
    IGraph<TShape, TMat>

    TBD

    | Edit this page View Source

    Async()

    Put an asynchronous boundary around this Graph.

    Declaration
    public IGraph<TShape, TMat> Async()
    Returns
    Type Description
    IGraph<TShape, TMat>

    TBD

    | Edit this page View Source

    Named(string)

    Add a name attribute to this Graph.

    Declaration
    public IGraph<TShape, TMat> Named(string name)
    Parameters
    Type Name Description
    string name

    TBD

    Returns
    Type Description
    IGraph<TShape, TMat>

    TBD

    | Edit this page View Source

    WithAttributes(Attributes)

    Change the attributes of this IGraph<TShape> to the given ones and seal the list of attributes. This means that further calls will not be able to remove these attributes, but instead add new ones. Note that this operation has no effect on an empty Flow (because the attributes apply only to the contained processing stages).

    Declaration
    public IGraph<TShape, TMat> WithAttributes(Attributes attributes)
    Parameters
    Type Name Description
    Attributes attributes

    TBD

    Returns
    Type Description
    IGraph<TShape, TMat>

    TBD

    Implements

    IGraph<TShape, TMaterialized>
    IGraph<TShape>

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET