Class TypeHelper

Inheritance
System.Object
TypeHelper
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: SolrNet.Utils
Assembly: Solrnet.dll
Version: 13.30.0
Syntax
public static class TypeHelper

Methods

GetUnderlyingNullableType(Type)

Declaration
public static Type GetUnderlyingNullableType(Type t)
Parameters
Type Name Description
System.Type t
Returns
Type Description
System.Type

IsGenericAssignableFrom(Type, Type)

Declaration
public static bool IsGenericAssignableFrom(Type t, Type other)
Parameters
Type Name Description
System.Type t
System.Type other
Returns
Type Description
System.Boolean

IsNullableType(Type)

Declaration
public static bool IsNullableType(Type theType)
Parameters
Type Name Description
System.Type theType
Returns
Type Description
System.Boolean

MakeNullable(Type)

Declaration
public static Type MakeNullable(Type t)
Parameters
Type Name Description
System.Type t
Returns
Type Description
System.Type