Search Results for

    Show / Hide Table of Contents

    Class Left<TA, TB>

    Represents the left side of an Either instance.

    Inheritance
    object
    Either<TA, TB>
    Left<TA, TB>
    Inherited Members
    Either<TA, TB>.IsLeft
    Either<TA, TB>.IsRight
    Either<TA, TB>.Right
    Either<TA, TB>.Left
    Either<TA, TB>.Value
    Either<TA, TB>.ToRight()
    Either<TA, TB>.ToLeft()
    Either<TA, TB>.Map<TRes1, TRes2>(Func<TA, TRes1>, Func<TB, TRes2>)
    Either<TA, TB>.MapLeft<TRes>(Func<TA, TRes>)
    Either<TA, TB>.MapRight<TRes>(Func<TB, TRes>)
    Either<TA, TB>.Fold<TRes>(Func<TA, TRes>, Func<TB, TRes>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Util
    Assembly: Akka.dll
    Syntax
    public class Left<TA, TB> : Either<TA, TB>
    Type Parameters
    Name Description
    TA

    The type of the left value contained in this instance.

    TB

    The type of the right value (not used in this class).

    Constructors

    | Edit this page View Source

    Left(TA)

    Initializes a new instance of the Left<TA, TB> class.

    Declaration
    public Left(TA a)
    Parameters
    Type Name Description
    TA a

    The left value to contain.

    Properties

    | Edit this page View Source

    IsLeft

    Gets a value indicating whether this instance represents a Left. Always returns true for Left instances.

    Declaration
    public override bool IsLeft { get; }
    Property Value
    Type Description
    bool
    Overrides
    Either<TA, TB>.IsLeft
    | Edit this page View Source

    IsRight

    Gets a value indicating whether this instance represents a Right. Always returns false for Left instances.

    Declaration
    public override bool IsRight { get; }
    Property Value
    Type Description
    bool
    Overrides
    Either<TA, TB>.IsRight
    | Edit this page View Source

    Value

    Gets the left value contained in this instance.

    Declaration
    public TA Value { get; }
    Property Value
    Type Description
    TA

    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