Show / Hide Table of Contents

    Class TypeUtility

    Inheritance
    System.Object
    TypeUtility
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Bayat.Core.Reflection
    Assembly: Bayat.Core.Runtime.dll
    Syntax
    public static class TypeUtility

    Fields

    | Improve this Doc View Source

    DefaultPrimitives

    Declaration
    public static readonly Dictionary<Type, object> DefaultPrimitives
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<System.Type, System.Object>
    | Improve this Doc View Source

    NumericConstructTypes

    Declaration
    public static readonly HashSet<Type> NumericConstructTypes
    Field Value
    Type Description
    System.Collections.Generic.HashSet<System.Type>
    | Improve this Doc View Source

    NumericTypes

    Declaration
    public static readonly HashSet<Type> NumericTypes
    Field Value
    Type Description
    System.Collections.Generic.HashSet<System.Type>
    | Improve this Doc View Source

    TypesWithShortStrings

    Declaration
    public static readonly HashSet<Type> TypesWithShortStrings
    Field Value
    Type Description
    System.Collections.Generic.HashSet<System.Type>

    Methods

    | Improve this Doc View Source

    IsValueType<T>(T)

    Declaration
    public static bool IsValueType<T>(T obj)
    Parameters
    Type Name Description
    T obj
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    • 0 Comments