Optional<T> Methods
Methods
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object)) |
Equals(Optional(T)) | Indicates whether the current object is equal to another object of the same type. |
GetHashCode() | Returns the hash code for this instance. (Overrides ValueType.GetHashCode()) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
GetValueOrDefault() | Gets the value if present, otherwise the default value. |
GetValueOrDefault(T) | Gets the value if present, otherwise a default value. |
GetValueOrDefault(TResult)() | Gets the value if present, otherwise the default value. |
GetValueOrDefault(TResult)(TResult) | Gets the value if present, otherwise a default value. |
ToObject() | Casts the value (if any) to an Object. |
ToString() | Returns the fully qualified type name of this instance. (Overrides ValueType.ToString()) |