Show / Hide Table of Contents

    Class ActorSystemSetup

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

    Inheritance
    Object
    ActorSystemSetup
    Namespace: Akka.Actor.Setup
    Assembly: Akka.dll
    Syntax
    public sealed class ActorSystemSetup : object
    Remarks

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

    Fields

    | Improve this Doc View Source

    Empty

    Declaration
    public static readonly ActorSystemSetup Empty
    Field Value
    Type Description
    ActorSystemSetup

    Methods

    | Improve this Doc 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.

    | Improve this Doc View Source

    Create(Setup[])

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

    Get<T>()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    | Improve this Doc 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

    PatternMatch.Match(Object)
    PatternMatch.Match<T>(Object)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(Object)
    ObjectExtensions.IsDefaultForType<T>(T)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2013-2021 Akka.NET project
    Generated by DocFX