Class IntrospectionSupport
Utility class used to provide conveince methods that apply named property settings to objects.
Inheritance
System.Object
    IntrospectionSupport
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Apache.NMS.ActiveMQ.Util
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
public class IntrospectionSupportMethods
| Improve this Doc View SourceSetProperties(Object, StringDictionary)
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.
Declaration
public static void SetProperties(object target, StringDictionary map)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | target | The object whose properties will be set. | 
| System.Collections.Specialized.StringDictionary | map | Map of key/value pairs. | 
SetProperties(Object, StringDictionary, String)
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.
Declaration
public static void SetProperties(object target, StringDictionary map, string prefix)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | target | The object whose properties will be set. | 
| System.Collections.Specialized.StringDictionary | map | Map of key/value pairs. | 
| System.String | prefix | Key value prefix. This is prepended to the property name before searching for a matching key value. |