Search Results for

    Show / Hide Table of Contents

    Class ActorSystemSetup

    A set of setup classes to allow for programmatic configuration of the ActorSystem

    Inheritance
    object
    ActorSystemSetup
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Actor.Setup
    Assembly: Akka.dll
    Syntax
    public sealed class ActorSystemSetup
    Remarks

    The constructor is internal. Use Create(params Setup[]) or WithSetup<T>(T) to create instances.

    Fields

    | Edit this page View Source

    Empty

    Declaration
    public static readonly ActorSystemSetup Empty
    Field Value
    Type Description
    ActorSystemSetup

    Methods

    | Edit this page View Source

    And<T>(T)

    Shortcut for And(Setup) to make it easier to chain the fluent interface together.

    Declaration
    public ActorSystemSetup And<T>(T setup) where T : Setup
    Parameters
    Type Name Description
    T setup

    Setup input. If a setting of the same type is already present it will be replaced.

    Returns
    Type Description
    ActorSystemSetup

    A new, immutable ActorSystemSetup instance.

    Type Parameters
    Name Description
    T

    The type of Setup

    Remarks

    Calls WithSetup<T>(T) internally.

    | Edit this page View Source

    Create(params Setup[])

    Declaration
    public static ActorSystemSetup Create(params Setup[] setup)
    Parameters
    Type Name Description
    Setup[] setup
    Returns
    Type Description
    ActorSystemSetup
    | Edit this page View Source

    Get<T>()

    Declaration
    public Option<T> Get<T>() where T : Setup
    Returns
    Type Description
    Option<T>
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    | Edit this page View Source

    WithSetup<T>(T)

    Add a concrete Setup.

    Declaration
    public ActorSystemSetup WithSetup<T>(T setup) where T : Setup
    Parameters
    Type Name Description
    T setup

    Setup input. If a setting of the same type is already present it will be replaced.

    Returns
    Type Description
    ActorSystemSetup

    A new, immutable ActorSystemSetup instance.

    Type Parameters
    Name Description
    T

    The type of Setup

    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