Google.
  Represents a value returned by an operation, with the associated error code.
Summary
| Details | |||
|---|---|---|---|
| Template Parameters | 
 | 
| Public attributes | |
|---|---|
| errorCode | readonly ErrorCodeThe error code returned by the operation that led to this result.  | 
| value | readonly TThe value returned by the operation that led to this result.  | 
| Public functions | |
|---|---|
| Result(ErrorCode errorCode, T result) | 
        Create a result with the given value and the associated error code.  | 
Public attributes
errorCode
readonly ErrorCode errorCode
The error code returned by the operation that led to this result.
value
readonly T value
The value returned by the operation that led to this result.
Public functions
Result
Result( ErrorCode errorCode, T result )
Create a result with the given value and the associated error code.
| Details | |||||
|---|---|---|---|---|---|
| Parameters | 
 | 
