Search Results for

    Show / Hide Table of Contents

    Class NullableRangedLong<T>

    Serializable nullable long with range validation and default value. Mirrors NullableRangedInt<T> for 64-bit integer values (e.g. seeds).

    Inheritance
    object
    SerializableNullable<long>
    NullableRangedLong<T>
    Seed
    Implements
    INullable
    IEquatable<T>
    IComparable<T>
    Inherited Members
    SerializableNullable<long>.hasValue
    SerializableNullable<long>.value
    SerializableNullable<long>.HasValue
    SerializableNullable<long>.Value
    SerializableNullable<long>.Clear()
    SerializableNullable<long>.ToString()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9
    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
    Name Description
    T

    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
    Type Description
    long
    | Edit this page View Source

    Max

    Declaration
    public abstract long Max { get; }
    Property Value
    Type Description
    long
    | Edit this page View Source

    Min

    Declaration
    public abstract long Min { get; }
    Property Value
    Type Description
    long

    Methods

    | Edit this page View Source

    CompareTo(T)

    Declaration
    public int CompareTo(T other)
    Parameters
    Type Name Description
    T other
    Returns
    Type Description
    int
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    Equals(T)

    Declaration
    public bool Equals(T other)
    Parameters
    Type Name Description
    T other
    Returns
    Type Description
    bool
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Implements

    INullable
    IEquatable<T>
    IComparable<T>

    Extension Methods

    CoreLibTypeExtensions.HasValue(INullable)
    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SerializableNullableExtensions.GetValueOrDefault<T>(SerializableNullable<T>, T)
    SerializableNullableExtensions.GetValueOrNull<T>(SerializableNullable<T>)
    SerializableNullableExtensions.HasValue<T>(SerializableNullable<T>)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation