static OVRResult< TStatus > | From< TStatus > ( TStatus status ) |
static OVRResult< TResult, TStatus > | |
static OVRResult< TStatus > | From ( TStatus status ) Creates a new OVRResult<TValue, TStatus> with the specified status. |
static OVRResult< TStatus > | FromSuccess ( TStatus status ) Creates a new OVRResult<TValue, TStatus> with the specified success status. |
static OVRResult< TStatus > | FromFailure ( TStatus status ) Creates a new OVRResult<TValue, TStatus> with the specified failure status. |
static OVRResult< TValue, TStatus > | Creates a new OVRResult<TValue, TStatus> with the specified value and status. |
static OVRResult< TValue, TStatus > | Creates a new OVRResult<TValue, TStatus> with the specified value and a success status. |
static OVRResult< TValue, TStatus > | FromFailure ( TStatus status ) Creates a new OVRResult<TValue, TStatus> with the specified failure status. |
bool | |
override bool | Equals ( object obj ) Determines whether the current OVRResult<TStatus> is equal to another object. |
override int | GetHashCode ( ) Gets a hashcode suitable for use in a Dictionary or HashSet. |
bool | TryGetValue ( out TValue value ) Tries to retrieve the value of the result. |
bool | |
override bool | Equals ( object obj ) Determines whether the current OVRResult<TValue, TStatus> is equal to another object. |
override bool TStatus other && | Equals ( other ) |
override int | GetHashCode ( ) Gets a hashcode suitable for use in a Dictionary or HashSet. |
bool OVRResult< TValue, TStatus >::Success |
---|
Gets a bool indicating whether the result is a success. |
TStatus OVRResult< TValue, TStatus >::Status |
---|
Gets the status of the result. |
bool OVRResult< TValue, TStatus >.HasValue |
---|
Gets a bool indicating whether the result has a value. |
TValue OVRResult< TValue, TStatus >.Value |
---|
Gets the value of the result. Exceptions InvalidOperationException Thrown when the result was unsuccessful and no value is available. See Also: |
static OVRResult< TStatus > OVRResult< TValue, TStatus >.From< TStatus > ( TStatus status ) |
---|
No description available.
|
static OVRResult< TResult, TStatus > OVRResult< TValue, TStatus >.From< TResult, TStatus > ( TResult result, TStatus status ) |
---|
No description available.
|
static OVRResult< TStatus > OVRResult< TValue, TStatus >.From ( TStatus status ) |
---|
Creates a new OVRResult<TValue, TStatus> with the specified status. Parameters status The status. Returns A new OVRResult<TValue, TStatus> with the specified status. See Also: |
static OVRResult< TStatus > OVRResult< TValue, TStatus >.FromSuccess ( TStatus status ) |
---|
Creates a new OVRResult<TValue, TStatus> with the specified success status. Parameters status The status (must be a valid success status). Returns A new OVRResult<TValue, TStatus> with the specified status. Exceptions ArgumentException Thrown when status is not a valid success status. See Also: |
static OVRResult< TStatus > OVRResult< TValue, TStatus >.FromFailure ( TStatus status ) |
---|
Creates a new OVRResult<TValue, TStatus> with the specified failure status. Parameters status The status (must be a valid failure status). Returns A new OVRResult<TValue, TStatus> with the specified status. Exceptions ArgumentException Thrown when status is not a valid failure status. See Also: |
static OVRResult< TValue, TStatus > OVRResult< TValue, TStatus >.From ( TValue value, TStatus status ) |
---|
Creates a new OVRResult<TValue, TStatus> with the specified value and status. Parameters value The value. statusThe status. Returns A new OVRResult<TValue, TStatus> with the specified value and status. See Also: |
static OVRResult< TValue, TStatus > OVRResult< TValue, TStatus >.FromSuccess ( TValue value, TStatus status ) |
---|
Creates a new OVRResult<TValue, TStatus> with the specified value and a success status. Parameters value The value. statusThe status (must be a valid success status). Returns A new OVRResult<TValue, TStatus> with the specified value and status. Exceptions ArgumentException Thrown when status is not a valid success status. See Also: |
static OVRResult< TValue, TStatus > OVRResult< TValue, TStatus >.FromFailure ( TStatus status ) |
---|
Creates a new OVRResult<TValue, TStatus> with the specified failure status. Parameters status The status (must be a valid failure status). Returns A new OVRResult<TValue, TStatus> with the specified status. Exceptions ArgumentException Thrown when status is not a valid failure status. See Also: |
bool OVRResult< TValue, TStatus >.Equals ( OVRResult< TStatus > other ) |
---|
Determines whether the current OVRResult<TStatus> is equal to another OVRResult<TStatus>. Parameters other The OVRResult<TStatus> to compare with the current one. Returns true if the specified OVRResult<TStatus> is equal to the current OVRResult<TStatus>; otherwise, false. |
override bool OVRResult< TValue, TStatus >.Equals ( object obj ) |
---|
Determines whether the current OVRResult<TStatus> is equal to another object. Parameters obj The object to compare with the current OVRResult<TStatus>. Returns true if the specified object is equal to the current OVRResult<TStatus>; otherwise, false. |
override int OVRResult< TValue, TStatus >.GetHashCode ( ) |
---|
Gets a hashcode suitable for use in a Dictionary or HashSet. Returns A hashcode for this result. |
bool OVRResult< TValue, TStatus >.TryGetValue ( out TValue value ) |
---|
bool OVRResult< TValue, TStatus >.Equals ( OVRResult< TValue, TStatus > other ) |
---|
Determines whether the current OVRResult<TValue, TStatus> is equal to another OVRResult<TValue, TStatus>. Parameters other The OVRResult<TValue, TStatus> to compare with the current one. Returns true if the specified OVRResult<TValue, TStatus> is equal to the current OVRResult<TValue, TStatus>; otherwise, false. |
override bool OVRResult< TValue, TStatus >.Equals ( object obj ) |
---|
Determines whether the current OVRResult<TValue, TStatus> is equal to another object. Parameters obj The object to compare with the current OVRResult<TValue, TStatus>. Returns true if the specified object is equal to the current OVRResult<TValue, TStatus>; otherwise, false. |
override bool TStatus other && OVRResult< TValue, TStatus >.Equals ( other ) |
---|
No description available.
|
override int OVRResult< TValue, TStatus >.GetHashCode ( ) |
---|
Gets a hashcode suitable for use in a Dictionary or HashSet. Returns A hashcode for this result. |