Search Results for

    Show / Hide Table of Contents

    Class NullableRangedInt<T>

    Serializable nullable int with range validation and default value.

    Inheritance
    object
    SerializableNullable<int>
    NullableRangedInt<T>
    Bpm
    Logprobs
    NCount
    OpenAITypes.ImageCompressionLevel
    TokenCount
    TopK
    Implements
    INullable
    IEquatable<T>
    IComparable<T>
    Inherited Members
    SerializableNullable<int>.hasValue
    SerializableNullable<int>.value
    SerializableNullable<int>.HasValue
    SerializableNullable<int>.Value
    SerializableNullable<int>.Clear()
    SerializableNullable<int>.ToString()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    [Serializable]
    [JsonConverter(typeof(NullableRangedIntConverter<>))]
    public abstract class NullableRangedInt<T> : SerializableNullable<int>, INullable, IEquatable<T>, IComparable<T> where T : NullableRangedInt<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    NullableRangedInt()

    Declaration
    protected NullableRangedInt()
    | Edit this page View Source

    NullableRangedInt(int?)

    Declaration
    protected NullableRangedInt(int? value)
    Parameters
    Type Name Description
    int? value

    Properties

    | Edit this page View Source

    Default

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

    Max

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

    Min

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

    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