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 SourceDefaultPrimitives
Declaration
public static readonly Dictionary<Type, object> DefaultPrimitives
Field Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Type, System.Object> |
NumericConstructTypes
Declaration
public static readonly HashSet<Type> NumericConstructTypes
Field Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<System.Type> |
NumericTypes
Declaration
public static readonly HashSet<Type> NumericTypes
Field Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<System.Type> |
TypesWithShortStrings
Declaration
public static readonly HashSet<Type> TypesWithShortStrings
Field Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<System.Type> |
Methods
| Improve this Doc View SourceIsValueType<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 |