Class Default
Represents a static, generic class, that returns default values for types
Inheritance
System.Object
Default
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.DataModel
Assembly: TimeCockpit.Data.dll
Syntax
public static class Default
Methods
GetValue<T>()
Gets the clr default value for the type T
Declaration
public static object GetValue<T>()
Returns
Type | Description |
---|---|
System.Object | The default type of type T |
Type Parameters
Name | Description |
---|---|
T | The type to generate a default value for |