C# Класс Apache.NMS.ActiveMQ.Util.IntrospectionSupport

Utility class used to provide conveince methods that apply named property settings to objects.
Показать файл Открыть проект

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

Метод Описание
SetProperties ( object target, StringDictionary map ) : void

Sets the public properties of a target object using a string map. This method uses .Net reflection to identify public properties of the target object matching the keys from the passed map.

SetProperties ( object target, StringDictionary map, string prefix ) : void

Sets the public properties of a target object using a string map. This method uses .Net reflection to identify public properties of the target object matching the keys from the passed map.

Приватные методы

Метод Описание
FindPropertyInfo ( object target, string name ) : MemberInfo
GetUnderlyingObject ( MemberInfo member, object target ) : object

Описание методов

SetProperties() публичный статический Метод

Sets the public properties of a target object using a string map. This method uses .Net reflection to identify public properties of the target object matching the keys from the passed map.
public static SetProperties ( object target, StringDictionary map ) : void
target object The object whose properties will be set.
map System.Collections.Specialized.StringDictionary Map of key/value pairs.
Результат void

SetProperties() публичный статический Метод

Sets the public properties of a target object using a string map. This method uses .Net reflection to identify public properties of the target object matching the keys from the passed map.
public static SetProperties ( object target, StringDictionary map, string prefix ) : void
target object The object whose properties will be set.
map System.Collections.Specialized.StringDictionary Map of key/value pairs.
prefix string Key value prefix. This is prepended to the property name /// before searching for a matching key value.
Результат void