| TryValueT Class |
Namespace: Deedle
[SerializableAttribute] public abstract class TryValue<T> : IEquatable<TryValue<T>>, IStructuralEquatable
The TryValueT type exposes the following members.
| Name | Description | |
|---|---|---|
| Exception |
Returns the exception captured by this value. When `HasValue = true`,
accessing the property throws `InvalidOperationException`.
| |
| HasValue |
Returns `true` when the `TryValue<T>` object represents a
successfully calculated value
| |
| IsError | ||
| IsSuccess | ||
| Tag | ||
| Value |
Returns the value of `TryValue<T>` when the value is present;
otherwise, throws an exception that was captured
|
| Name | Description | |
|---|---|---|
| Equals(Object) | (Overrides ObjectEquals(Object).) | |
| Equals(TryValueT) | ||
| Equals(Object, IEqualityComparer) | ||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| get_IsError | ||
| get_IsSuccess | ||
| get_Tag | ||
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| GetHashCode(IEqualityComparer) | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NewError | ||
| NewSuccess | ||
| ToString |
Returns the string representation of the underlying value or `<error>`
(Overrides ObjectToString.) |