C# 클래스 NuGet.TypeHelper

파일 보기 프로젝트 열기: xero-github/Nuget

공개 메소드들

메소드 설명
ChangeType ( object value, Type type ) : object
GetDictionaryType ( Type type ) : Type
GetGenericCollectionType ( Type type ) : Type
IsKeyValueProperty ( PropertyInfo property ) : bool
IsMultiValuedProperty ( PropertyInfo property ) : bool
RemoveNullableFromType ( Type type ) : Type
TypeAllowsNull ( Type type ) : bool

비공개 메소드들

메소드 설명
GetInterfaceType ( Type type, Type interfaceType ) : Type

메소드 상세

ChangeType() 공개 정적인 메소드

public static ChangeType ( object value, Type type ) : object
value object
type System.Type
리턴 object

GetDictionaryType() 공개 정적인 메소드

public static GetDictionaryType ( Type type ) : Type
type System.Type
리턴 System.Type

GetGenericCollectionType() 공개 정적인 메소드

public static GetGenericCollectionType ( Type type ) : Type
type System.Type
리턴 System.Type

IsKeyValueProperty() 공개 정적인 메소드

public static IsKeyValueProperty ( PropertyInfo property ) : bool
property System.Reflection.PropertyInfo
리턴 bool

IsMultiValuedProperty() 공개 정적인 메소드

public static IsMultiValuedProperty ( PropertyInfo property ) : bool
property System.Reflection.PropertyInfo
리턴 bool

RemoveNullableFromType() 공개 정적인 메소드

public static RemoveNullableFromType ( Type type ) : Type
type System.Type
리턴 System.Type

TypeAllowsNull() 공개 정적인 메소드

public static TypeAllowsNull ( Type type ) : bool
type System.Type
리턴 bool