Represents a cache operation result with a success flag.
More...
|
| | CacheResult (T value) |
| | Initializes a new instance of the CacheResult<T> struct with a specified value and sets success flag to true. More...
|
| |
| bool | Equals (CacheResult< T > other) |
| | Determines whether the specified object, is equal to this instance. More...
|
| |
| override bool | Equals (object obj) |
| | Determines whether the specified object, is equal to this instance. More...
|
| |
| override int | GetHashCode () |
| | Returns a hash code for this instance. More...
|
| |
|
| T | Value [get] |
| | Gets the cache value. More...
|
| |
| bool | Success [get] |
| | Gets a value indicating whether the operation completed successfully. More...
|
| |
- Template Parameters
-
| T | Operation result value type. |
- Parameters
-
| other | The object to compare with this instance. |
- Returns
true if the specified object is equal to this instance; otherwise, false.
- Parameters
-
| obj | The object to compare with this instance. |
- Returns
true if the specified object is equal to this instance; otherwise, false.
- Returns
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
- Parameters
-
| left | The left. |
| right | The right. |
- Returns
- The result of the operator.
- Parameters
-
| left | The left. |
| right | The right. |
- Returns
- The result of the operator.