Search Results for

    Show / Hide Table of Contents

    Class LocalScope

    This class represents a binding of an actor deployment to a local system.

    Inheritance
    object
    Scope
    LocalScope
    Implements
    IEquatable<Scope>
    ISurrogated
    Inherited Members
    Scope.Local
    Scope.Equals(Scope)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public class LocalScope : Scope, IEquatable<Scope>, ISurrogated

    Properties

    | Edit this page View Source

    Instance

    The singleton instance of this scope.

    Declaration
    public static LocalScope Instance { get; }
    Property Value
    Type Description
    LocalScope

    Methods

    | Edit this page View Source

    Copy()

    Creates a copy of the current instance.

    note

    This method returns the singleton instance of this scope.

    Declaration
    public override Scope Copy()
    Returns
    Type Description
    Scope

    The singleton instance of this scope

    Overrides
    Scope.Copy()
    | Edit this page View Source

    ToSurrogate(ActorSystem)

    Creates a surrogate representation of the current LocalScope.

    Declaration
    public ISurrogate ToSurrogate(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    The actor system that owns this router.

    Returns
    Type Description
    ISurrogate

    The surrogate representation of the current LocalScope.

    | Edit this page View Source

    WithFallback(Scope)

    Creates a new Scope from this scope using another Scope to backfill options that might be missing from this scope.

    note

    This method ignores the given scope and returns the singleton instance of this scope.

    Declaration
    public override Scope WithFallback(Scope other)
    Parameters
    Type Name Description
    Scope other

    The Scope used for fallback configuration.

    Returns
    Type Description
    Scope

    The singleton instance of this scope

    Overrides
    Scope.WithFallback(Scope)

    Implements

    IEquatable<T>
    ISurrogated

    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