C# 클래스 nHydrate.Generator.Common.Util.ReflectionHelper

파일 보기 프로젝트 열기: nHydrate/nHydrate

공개 메소드들

메소드 설명
CreateInstance ( System type, Object args ) : Object
CreateInstance ( Type type ) : Object
CreateInstance ( string assemblyName, string type ) : Object
DisplayObjectTypes ( object o ) : void
DisplayProperties ( object o ) : void
GetAttributes ( System attributeType, object instance ) : System.Attribute[]
GetCreatableObjectImplementsInterface ( Type interfaceType, Assembly assembly ) : System.Type[]
GetCreatableObjectImplementsInterface ( Type interfaceType, string path ) : System.Type[]
GetCreatableObjectImplementsInterface ( Type interfaceType, string path, AppDomain domain ) : System.Type[]
GetCreatableObjects ( System parentType, string path ) : System.Type[]
GetExcludeAssemblies ( ) : IEnumerable
GetFieldsByAttribute ( object o, System attributeType ) : Hashtable
GetMethodsByAttribute ( System parentType, System attributeType ) : Hashtable
GetPropertyAttribute ( System attributeType, object instance, string propertyName ) : Attribute
GetPropertyAttributeDescriptionValue ( object instance, string propertyName ) : string
GetSingleAttribute ( System attributeType, System type ) : Attribute
GetSingleAttribute ( System attributeType, object instance ) : Attribute
GetType ( string assemblyName, string type ) : Type
ImplementsInterface ( Type objectType, Type interfaceType ) : bool
ImplementsInterface ( object o, Type interfaceType ) : bool
IsTypeOf ( System checkType, System baseType ) : bool
IsTypeOf ( System checkType, string baseType ) : bool

비공개 메소드들

메소드 설명
LoadAllAssembliesForPath ( string path ) : ArrayList
ReflectionHelper ( ) : System

메소드 상세

CreateInstance() 공개 정적인 메소드

public static CreateInstance ( System type, Object args ) : Object
type System
args Object
리턴 Object

CreateInstance() 공개 정적인 메소드

public static CreateInstance ( Type type ) : Object
type System.Type
리턴 Object

CreateInstance() 공개 정적인 메소드

public static CreateInstance ( string assemblyName, string type ) : Object
assemblyName string
type string
리턴 Object

DisplayObjectTypes() 공개 정적인 메소드

public static DisplayObjectTypes ( object o ) : void
o object
리턴 void

DisplayProperties() 공개 정적인 메소드

public static DisplayProperties ( object o ) : void
o object
리턴 void

GetAttributes() 공개 정적인 메소드

public static GetAttributes ( System attributeType, object instance ) : System.Attribute[]
attributeType System
instance object
리턴 System.Attribute[]

GetCreatableObjectImplementsInterface() 공개 정적인 메소드

public static GetCreatableObjectImplementsInterface ( Type interfaceType, Assembly assembly ) : System.Type[]
interfaceType System.Type
assembly System.Reflection.Assembly
리턴 System.Type[]

GetCreatableObjectImplementsInterface() 공개 정적인 메소드

public static GetCreatableObjectImplementsInterface ( Type interfaceType, string path ) : System.Type[]
interfaceType System.Type
path string
리턴 System.Type[]

GetCreatableObjectImplementsInterface() 공개 정적인 메소드

public static GetCreatableObjectImplementsInterface ( Type interfaceType, string path, AppDomain domain ) : System.Type[]
interfaceType System.Type
path string
domain System.AppDomain
리턴 System.Type[]

GetCreatableObjects() 공개 정적인 메소드

public static GetCreatableObjects ( System parentType, string path ) : System.Type[]
parentType System
path string
리턴 System.Type[]

GetExcludeAssemblies() 공개 정적인 메소드

public static GetExcludeAssemblies ( ) : IEnumerable
리턴 IEnumerable

GetFieldsByAttribute() 공개 정적인 메소드

public static GetFieldsByAttribute ( object o, System attributeType ) : Hashtable
o object
attributeType System
리턴 System.Collections.Hashtable

GetMethodsByAttribute() 공개 정적인 메소드

public static GetMethodsByAttribute ( System parentType, System attributeType ) : Hashtable
parentType System
attributeType System
리턴 System.Collections.Hashtable

GetPropertyAttribute() 공개 정적인 메소드

public static GetPropertyAttribute ( System attributeType, object instance, string propertyName ) : Attribute
attributeType System
instance object
propertyName string
리턴 System.Attribute

GetPropertyAttributeDescriptionValue() 공개 정적인 메소드

public static GetPropertyAttributeDescriptionValue ( object instance, string propertyName ) : string
instance object
propertyName string
리턴 string

GetSingleAttribute() 공개 정적인 메소드

public static GetSingleAttribute ( System attributeType, System type ) : Attribute
attributeType System
type System
리턴 System.Attribute

GetSingleAttribute() 공개 정적인 메소드

public static GetSingleAttribute ( System attributeType, object instance ) : Attribute
attributeType System
instance object
리턴 System.Attribute

GetType() 공개 정적인 메소드

public static GetType ( string assemblyName, string type ) : Type
assemblyName string
type string
리턴 System.Type

ImplementsInterface() 공개 정적인 메소드

public static ImplementsInterface ( Type objectType, Type interfaceType ) : bool
objectType System.Type
interfaceType System.Type
리턴 bool

ImplementsInterface() 공개 정적인 메소드

public static ImplementsInterface ( object o, Type interfaceType ) : bool
o object
interfaceType System.Type
리턴 bool

IsTypeOf() 공개 정적인 메소드

public static IsTypeOf ( System checkType, System baseType ) : bool
checkType System
baseType System
리턴 bool

IsTypeOf() 공개 정적인 메소드

public static IsTypeOf ( System checkType, string baseType ) : bool
checkType System
baseType string
리턴 bool