Class Right<T>
Represents a standalone right value that can be implicitly converted to an Either.
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public class Right<T>
Type Parameters
Name | Description |
---|---|
T | The type of the right value. |
Constructors
| Edit this page View SourceRight(T)
Initializes a new instance of the Right<T> class.
Declaration
public Right(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The right value to contain. |
Properties
| Edit this page View SourceIsLeft
Gets a value indicating whether this instance represents a Left. Always returns false for Right instances.
Declaration
public bool IsLeft { get; }
Property Value
Type | Description |
---|---|
bool |
IsRight
Gets a value indicating whether this instance represents a Right. Always returns true for Right instances.
Declaration
public bool IsRight { get; }
Property Value
Type | Description |
---|---|
bool |
Value
Gets the right value contained in this instance.
Declaration
public T Value { get; }
Property Value
Type | Description |
---|---|
T |