Show / Hide Table of Contents

Class TypeExtensions

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

Methods

GetDefaultValue(Type)

Declaration
public static object GetDefaultValue(this Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
object

GetInstanceProperties(Type)

Declaration
public static List<PropertyInfo> GetInstanceProperties(this Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
List<PropertyInfo>

GetNullableType(Type)

Declaration
public static Type GetNullableType(this Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
Type

IsNullable(Type)

Declaration
public static bool IsNullable(this Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
bool

IsNumericType(Type)

Declaration
public static bool IsNumericType(this Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
bool

IsSerializedType(Type)

Declaration
public static bool IsSerializedType(this Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
bool
☀
☾
Back to top Generated by DocFX