Modelled after Nullable
Inherits from IComparable
Name | |
---|---|
NullableLong(long value) Constructor |
|
long | GetValueOrDefault() Get the value |
long | GetValueOrDefault(long defaultValue) Get value, or default if value is not defined |
override bool | Equals(object other) Return TRUE if other object is equal to this one |
int | CompareTo(object obj) Compare another object. If both objects are the same, then return zero. If this object has a value but the other object does not, return +1 If this object does not have a value, but the other object does have a value, return -1. If both objects have a value, the return value will be an indication of their relative values |
override int | GetHashCode() Return the hashcode |
override string | ToString() Stringify the value |
implicit | operator NullableLong(long value) For implicit type conversions |
static | operator long(NullableLong value) For explicit type conversions |
Name | |
---|---|
bool | HasValue Return TRUE if object has a value |
long | Value Return the value |
NullableLong(
long value
)
Constructor
long GetValueOrDefault()
Get the value
long GetValueOrDefault(
long defaultValue
)
Get value, or default if value is not defined
override bool Equals(
object other
)
Return TRUE if other object is equal to this one
int CompareTo(
object obj
)
Compare another object. If both objects are the same, then return zero. If this object has a value but the other object does not, return +1 If this object does not have a value, but the other object does have a value, return -1. If both objects have a value, the return value will be an indication of their relative values
override int GetHashCode()
Return the hashcode
override string ToString()
Stringify the value
static implicit operator NullableLong(
long value
)
For implicit type conversions
static explicit static operator long(
NullableLong value
)
For explicit type conversions
bool HasValue;
Return TRUE if object has a value
long Value;
Return the value
Updated on 2023-03-31 at 15:29:33 +0100