Search Results for

    Show / Hide Table of Contents

    Class SerializableNullableExtensions

    Inheritance
    object
    SerializableNullableExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    public static class SerializableNullableExtensions

    Methods

    | Edit this page View Source

    GetValueOrDefault<T>(SerializableNullable<T>, T)

    Declaration
    public static T GetValueOrDefault<T>(this SerializableNullable<T> nullable, T defaultValue) where T : struct
    Parameters
    Type Name Description
    SerializableNullable<T> nullable
    T defaultValue
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    GetValueOrNull<T>(SerializableNullable<T>)

    Declaration
    public static T? GetValueOrNull<T>(this SerializableNullable<T> nullable) where T : struct
    Parameters
    Type Name Description
    SerializableNullable<T> nullable
    Returns
    Type Description
    T?
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    HasValue<T>(SerializableNullable<T>)

    Declaration
    public static bool HasValue<T>(this SerializableNullable<T> nullable) where T : struct
    Parameters
    Type Name Description
    SerializableNullable<T> nullable
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation