Class Right<TA, TB>
Represents the right side of an Either instance.
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public class Right<TA, TB> : Either<TA, TB>
Type Parameters
Name | Description |
---|---|
TA | The type of the left value (not used in this class). |
TB | The type of the right value contained in this instance. |
Constructors
| Edit this page View SourceRight(TB)
Initializes a new instance of the Right<TA, TB> class.
Declaration
public Right(TB b)
Parameters
Type | Name | Description |
---|---|---|
TB | b | 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 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 true for Right instances.
Declaration
public override bool IsRight { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceValue
Gets the right value contained in this instance.
Declaration
public TB Value { get; }
Property Value
Type | Description |
---|---|
TB |