|
Enhanced C#
Language of your choice: library documentation
|
NoValue.Value is meant to be used as the value of a property that has "no value", meaning no value is assigned or that the property is meaningless at the current time or in the current context.
More...
NoValue.Value is meant to be used as the value of a property that has "no value", meaning no value is assigned or that the property is meaningless at the current time or in the current context.
Most often null is used for this purpose; NoValue.Value is used when null is (or might be) a valid, meaningful value and you want to distinguish between "no value" and "null". For example, this can be returned by the Value property of Loyc.Syntax.ILNode, in which NoValue means "this is not a literal, so it can't have
a value, not even null".
Also, this value converts implicitly to Maybe<T>.NoValue.
Public static fields | |
| static readonly NoValue | Value = new NoValue() |
Public Member Functions | |
| override string | ToString () |
1.8.17