C# 클래스 EntityFramework.Metadata.Extensions.TypeExtensions

파일 보기 프로젝트 열기: schneidenbach/EntityFramework.Metadata

공개 메소드들

메소드 설명
GetDerivedTypes ( this type, Assembly assembly = null ) : System.Type[]

Find all derived types from assembly. If assembly is not given, given type assembly is used.

GetDerivedTypes ( this type, bool includeItself, Assembly assembly = null ) : System.Type[]

Find all derived types from assembly. If assembly is not given, given type assembly is used.

GetPrivateFieldValue ( this obj, string propName ) : object

Returns a private Property Value from a given Object. Uses Reflection. Throws a ArgumentOutOfRangeException if the Property is not found.

GetProperty ( this type, string propertyName, char separator ) : PropertyInfo

GetPropertyValue ( this obj, string propertyName, char separator = '.' ) : object

IsNullable ( this type, Type &argumentType ) : bool

메소드 상세

GetDerivedTypes() 공개 정적인 메소드

Find all derived types from assembly. If assembly is not given, given type assembly is used.
public static GetDerivedTypes ( this type, Assembly assembly = null ) : System.Type[]
type this
assembly System.Reflection.Assembly
리턴 System.Type[]

GetDerivedTypes() 공개 정적인 메소드

Find all derived types from assembly. If assembly is not given, given type assembly is used.
public static GetDerivedTypes ( this type, bool includeItself, Assembly assembly = null ) : System.Type[]
type this
includeItself bool
assembly System.Reflection.Assembly
리턴 System.Type[]

GetPrivateFieldValue() 공개 정적인 메소드

Returns a private Property Value from a given Object. Uses Reflection. Throws a ArgumentOutOfRangeException if the Property is not found.
public static GetPrivateFieldValue ( this obj, string propName ) : object
obj this Object from where the Property Value is returned
propName string Propertyname as string.
리턴 object

GetProperty() 공개 정적인 메소드

public static GetProperty ( this type, string propertyName, char separator ) : PropertyInfo
type this
propertyName string
separator char
리턴 System.Reflection.PropertyInfo

GetPropertyValue() 공개 정적인 메소드

public static GetPropertyValue ( this obj, string propertyName, char separator = '.' ) : object
obj this
propertyName string
separator char
리턴 object

IsNullable() 공개 정적인 메소드

public static IsNullable ( this type, Type &argumentType ) : bool
type this
argumentType System.Type
리턴 bool