Search Results for

    Show / Hide Table of Contents

    Class NullableRangedFloat<T>

    Serializable nullable float with range validation and default value.

    Inheritance
    object
    SerializableNullable<float>
    NullableRangedFloat<T>
    FrequencyPenalty
    MusicBrightness
    PromptGuidance
    SoundDensity
    PresencePenalty
    SpeechSpeed
    Temperature
    TopP
    Volume
    Implements
    INullable
    IEquatable<T>
    IComparable<T>
    Inherited Members
    SerializableNullable<float>.hasValue
    SerializableNullable<float>.value
    SerializableNullable<float>.HasValue
    SerializableNullable<float>.Value
    SerializableNullable<float>.Clear()
    SerializableNullable<float>.ToString()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    [Serializable]
    [JsonConverter(typeof(NullableRangedFloatConverter<>))]
    public abstract class NullableRangedFloat<T> : SerializableNullable<float>, INullable, IEquatable<T>, IComparable<T> where T : NullableRangedFloat<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    NullableRangedFloat()

    Declaration
    protected NullableRangedFloat()
    | Edit this page View Source

    NullableRangedFloat(float?)

    Declaration
    protected NullableRangedFloat(float? value)
    Parameters
    Type Name Description
    float? value

    Properties

    | Edit this page View Source

    Default

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

    Max

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

    Min

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

    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