KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
Generic helper to make typed nulls More...
Public Member Functions | |
Maybe (T value) | |
Initializes a new instance of the Maybe<T> structure. More... | |
bool | Equals (Maybe< T > other) |
Equals for two wrappers More... | |
override bool | Equals (object obj) |
Indicates whether this instance and a specified object are equal. More... | |
override int | GetHashCode () |
Returns the hash code for this instance. More... | |
Static Public Member Functions | |
static implicit | operator Maybe< T > (T obj) |
Converts original object to wrapper More... | |
static implicit | operator T (Maybe< T > obj) |
Converts wrapper to the original object More... | |
static bool | operator!= (Maybe< T > left, Maybe< T > right) |
Not equals for two wrappers More... | |
static bool | operator== (Maybe< T > left, Maybe< T > right) |
Equals for two wrappers More... | |
Public Attributes | |
bool | HasValue => this.Value != null |
Gets a value indicating whether this is not a null More... | |
Properties | |
T | Value [get] |
Gets the value. More... | |
Generic helper to make typed nulls
T | End type |
T | : | class |
KlusterKite.Core.Monads.Maybe< T >.Maybe | ( | T | value | ) |
bool KlusterKite.Core.Monads.Maybe< T >.Equals | ( | Maybe< T > | other | ) |
override bool KlusterKite.Core.Monads.Maybe< T >.Equals | ( | object | obj | ) |
override int KlusterKite.Core.Monads.Maybe< T >.GetHashCode | ( | ) |
|
static |
|
static |
|
static |
|
static |
bool KlusterKite.Core.Monads.Maybe< T >.HasValue => this.Value != null |
|
get |