Struct Result<T>
TBD
Implements
IEquatable<Result<T>>
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public struct Result<T> : IEquatable<Result<T>>
Type Parameters
Name | Description |
---|---|
T | TBD |
Constructors
| Improve this Doc View SourceResult(T)
TBD
Declaration
public Result(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | TBD |
Result(Exception)
TBD
Declaration
public Result(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | TBD |
Fields
| Improve this Doc View SourceException
TBD
Declaration
public readonly Exception Exception
Field Value
Type | Description |
---|---|
Exception |
IsSuccess
TBD
Declaration
public readonly bool IsSuccess
Field Value
Type | Description |
---|---|
Boolean |
Value
TBD
Declaration
public readonly T Value
Field Value
Type | Description |
---|---|
T |
Methods
| Improve this Doc View SourceEquals(Result<T>)
Declaration
public bool Equals(Result<T> other)
Parameters
Type | Name | Description |
---|---|---|
Result<T> | other |
Returns
Type | Description |
---|---|
Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Operators
| Improve this Doc View SourceEquality(Result<T>, Result<T>)
Compares two specified Result<T> for equality.
Declaration
public static bool operator ==(Result<T> left, Result<T> right)
Parameters
Type | Name | Description |
---|---|---|
Result<T> | left | The first Result<T> used for comparison |
Result<T> | right | The second Result<T> used for comparison |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(Result<T>, Result<T>)
Compares two specified Result<T> for inequality.
Declaration
public static bool operator !=(Result<T> left, Result<T> right)
Parameters
Type | Name | Description |
---|---|---|
Result<T> | left | The first Result<T> used for comparison |
Result<T> | right | The second Result<T> used for comparison |
Returns
Type | Description |
---|---|
Boolean |
|