C# 클래스 CoreTechs.Common.Reflection.ReflectionExtensions

파일 보기 프로젝트 열기: Core-Techs/Common

공개 메소드들

메소드 설명
GetPropertiesAsDeclared ( this type ) : System.Reflection.PropertyInfo[]

Returns all properties found for the type, but as they are retrieved from their own declaring types. This helps to ensure that the get and set methods can be accessed. It's recommended to use this method to retrieve a type's properties and then use LINQ for filtering.

IsAssignableTo ( this from, Type to ) : bool
IsNullable ( this type ) : bool

메소드 상세

GetPropertiesAsDeclared() 공개 정적인 메소드

Returns all properties found for the type, but as they are retrieved from their own declaring types. This helps to ensure that the get and set methods can be accessed. It's recommended to use this method to retrieve a type's properties and then use LINQ for filtering.
public static GetPropertiesAsDeclared ( this type ) : System.Reflection.PropertyInfo[]
type this
리턴 System.Reflection.PropertyInfo[]

IsAssignableTo() 공개 정적인 메소드

public static IsAssignableTo ( this from, Type to ) : bool
from this
to System.Type
리턴 bool

IsNullable() 공개 정적인 메소드

public static IsNullable ( this type ) : bool
type this
리턴 bool