Esempio n. 1
0
 /// <summary>
 /// This constructor is only used if DynamicPropWrapper is inherited.
 /// </summary>
 public DynamicPropWrapper()
 {
     mInstance = this;
     mDynamicTypeDescriptor = new DynamicTypeDescriptor(mPropertySortType, mInstance, true);
 }
 /// <summary>
 /// This constructor is only used if DynamicPropWrapper is inherited.
 /// </summary>
 public DynamicPropWrapper()
 {
     mInstance = this;
     mDynamicTypeDescriptor = new DynamicTypeDescriptor(mPropertySortType, mInstance, true);
 }
Esempio n. 3
0
 /// <summary>
 /// ALWAYS USE this constructor when wrapping a class.
 /// </summary>
 /// <param name="instance">The object whose properties are to be filtered.</param>
 public DynamicPropWrapper(object instance)
 {
     mInstance = instance;
     mDynamicTypeDescriptor = new DynamicTypeDescriptor(mPropertySortType, mInstance, false);
 }
 /// <summary>
 /// ALWAYS USE this constructor when wrapping a class.
 /// </summary>
 /// <param name="instance">The object whose properties are to be filtered.</param>
 public DynamicPropWrapper(object instance)
 {
     mInstance = instance;
     mDynamicTypeDescriptor = new DynamicTypeDescriptor(mPropertySortType, mInstance, false);
 }