Пример #1
0
 /// <summary>
 /// This constructor is only used if DynamicPropWrapper is inherited.
 /// </summary>
 public DynamicPropWrapper()
 {
     mInstance = this;
     mDynamicTypeDescriptor = new DynamicTypeDescriptor(mPropertySortType, mInstance, true);
 }
Пример #2
0
 /// <summary>
 /// This constructor is only used if DynamicPropWrapper is inherited.
 /// </summary>
 public DynamicPropWrapper()
 {
     mInstance = this;
     mDynamicTypeDescriptor = new DynamicTypeDescriptor(mPropertySortType, mInstance, true);
 }
Пример #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);
 }
Пример #4
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);
 }