Class Left<TA, TB>
Represents the left side of an Either instance.
Inherited Members
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 SourceLeft(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 SourceIsLeft
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
| Edit this page View SourceIsRight
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
| Edit this page View SourceValue
Gets the left value contained in this instance.
Declaration
public TA Value { get; }
Property Value
Type | Description |
---|---|
TA |