C# 클래스 DotNetNuke.Extensions.Reflection.ReflectionHelper

Provides an easy-to-use fluent interface for setting and retrieving reflection data.
파일 보기 프로젝트 열기: JonHaywood/DotNetNuke.Extensions

공개 메소드들

메소드 설명
Field ( string fieldName ) : ReflectionHelper
FindField ( Type type, string name ) : FieldInfo

Finds the field recursive.

FindProperties ( Type type ) : System.Reflection.PropertyInfo[]

Finds the properties.

FindProperty ( Type type, string name ) : PropertyInfo

Finds the property recursive.

For ( object instance ) : ReflectionHelper

Factory method which defines target instance.

GetValue ( ) : object
Property ( string propertyName ) : ReflectionHelper
SetValue ( object value ) : ReflectionHelper

비공개 메소드들

메소드 설명
ReflectionHelper ( object target ) : System

Initializes a new instance of the ReflectionHelper class.

메소드 상세

Field() 공개 메소드

public Field ( string fieldName ) : ReflectionHelper
fieldName string
리턴 ReflectionHelper

FindField() 공개 정적인 메소드

Finds the field recursive.
public static FindField ( Type type, string name ) : FieldInfo
type System.Type The type.
name string The name.
리턴 System.Reflection.FieldInfo

FindProperties() 공개 정적인 메소드

Finds the properties.
public static FindProperties ( Type type ) : System.Reflection.PropertyInfo[]
type System.Type The type.
리턴 System.Reflection.PropertyInfo[]

FindProperty() 공개 정적인 메소드

Finds the property recursive.
public static FindProperty ( Type type, string name ) : PropertyInfo
type System.Type The type.
name string The name.
리턴 System.Reflection.PropertyInfo

For() 공개 정적인 메소드

Factory method which defines target instance.
public static For ( object instance ) : ReflectionHelper
instance object The instance.
리턴 ReflectionHelper

GetValue() 공개 메소드

public GetValue ( ) : object
리턴 object

Property() 공개 메소드

public Property ( string propertyName ) : ReflectionHelper
propertyName string
리턴 ReflectionHelper

SetValue() 공개 메소드

public SetValue ( object value ) : ReflectionHelper
value object
리턴 ReflectionHelper