C# 클래스 Summer.Batch.Common.Property.PropertyAccessor

Utility class to access properties on an object.
파일 보기 프로젝트 열기: SummerBatch/SummerBatch 1 사용 예제들

공개 메소드들

메소드 설명
GetProperty ( string propertyPath ) : object

Retrieves the value of a property on the wrapped instance. Allows path to reference nested properties.

PropertyAccessor ( object wrappedInstance ) : System.ComponentModel

Creates a property accessor with the specified wrapped instance.

비공개 메소드들

메소드 설명
GetPropertyDescriptor ( string propertyName, PropertyDescriptorCollection collection ) : PropertyDescriptor

Retrieves a property descriptor from its name.

메소드 상세

GetProperty() 공개 메소드

Retrieves the value of a property on the wrapped instance. Allows path to reference nested properties.
 if the property does not exist
public GetProperty ( string propertyPath ) : object
propertyPath string the path to the property to retrieve
리턴 object

PropertyAccessor() 공개 메소드

Creates a property accessor with the specified wrapped instance.
public PropertyAccessor ( object wrappedInstance ) : System.ComponentModel
wrappedInstance object the object to wrap
리턴 System.ComponentModel