C# Класс Summer.Batch.Common.Property.PropertyAccessor

Utility class to access properties on an object.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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