Class NullableRangedLong<T>
Serializable nullable long with range validation and default value.
Mirrors NullableRangedInt<T> for 64-bit integer values (e.g. seeds).
Inheritance
NullableRangedLong<T>
Assembly: Glitch9.dll
Syntax
[Serializable]
[JsonConverter(typeof(NullableRangedLongConverter<>))]
public abstract class NullableRangedLong<T> : SerializableNullable<long>, INullable, IEquatable<T>, IComparable<T> where T : NullableRangedLong<T>
Type Parameters
Constructors
|
Edit this page
View Source
NullableRangedLong()
Declaration
protected NullableRangedLong()
|
Edit this page
View Source
NullableRangedLong(long?)
Declaration
protected NullableRangedLong(long? value)
Parameters
| Type |
Name |
Description |
| long? |
value |
|
Properties
|
Edit this page
View Source
Default
Declaration
public abstract long Default { get; }
Property Value
|
Edit this page
View Source
Max
Declaration
public abstract long Max { get; }
Property Value
|
Edit this page
View Source
Min
Declaration
public abstract long Min { get; }
Property Value
Methods
|
Edit this page
View Source
CompareTo(T)
Declaration
public int CompareTo(T other)
Parameters
| Type |
Name |
Description |
| T |
other |
|
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
Equals(T)
Declaration
public bool Equals(T other)
Parameters
| Type |
Name |
Description |
| T |
other |
|
Returns
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements
Extension Methods