Search Results for

    Show / Hide Table of Contents

    Class Either

    Static factory methods for creating Either instances.

    Inheritance
    object
    Either
    Inherited Members
    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 static class Either

    Methods

    | Edit this page View Source

    Left<T>(T)

    Creates a new Left instance with the specified value.

    Declaration
    public static Left<T> Left<T>(T value)
    Parameters
    Type Name Description
    T value

    The value to contain.

    Returns
    Type Description
    Left<T>

    A new Left instance containing the specified value.

    Type Parameters
    Name Description
    T

    The type of the value.

    | Edit this page View Source

    Right<T>(T)

    Creates a new Right instance with the specified value.

    Declaration
    public static Right<T> Right<T>(T value)
    Parameters
    Type Name Description
    T value

    The value to contain.

    Returns
    Type Description
    Right<T>

    A new Right instance containing the specified value.

    Type Parameters
    Name Description
    T

    The type of the value.

    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