public esPropertyDescriptor(Type componentType, string name, Type propertyType, DynamicGetValue getDelegate, DynamicSetValue setDelegate)
     : base(name, null)
 {
     m_componentType = componentType;
     m_propertyType = propertyType;
     m_getDelegate = getDelegate;
     m_setDelegate = setDelegate;
 }
Пример #2
0
 public tgPropertyDescriptor(Type componentType, string name, Type propertyType, DynamicGetValue getDelegate, DynamicSetValue setDelegate)
     : base(name, null)
 {
     m_componentType = componentType;
     m_propertyType  = propertyType;
     m_getDelegate   = getDelegate;
     m_setDelegate   = setDelegate;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DynamicPropertyDescriptor" /> class.
 /// </summary>
 /// <param name="componentType">Type of the component.</param>
 /// <param name="name">The name.</param>
 /// <param name="attributes">The attributes.</param>
 /// <param name="propertyType">Type of the property.</param>
 /// <param name="getDelegate">The get delegate.</param>
 /// <param name="setDelegate">The set delegate.</param>
 public DynamicPropertyDescriptor(Type componentType, string name, Attribute[] attributes, Type propertyType, DynamicGetValue getDelegate, DynamicSetValue setDelegate)
     : base(name, attributes)
 {
     ComponentType = componentType;
     PropertyType  = propertyType;
     _getDelegate  = getDelegate;
     _setDelegate  = setDelegate;
 }