示例#1
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 /// <param name="supportedSerializationTypes">The supported serialization types.</param>
 public FieldSerializeAttribute(Entity.FieldSerializeSerializationTypes supportedSerializationTypes)
 {
     this.serializationTypes = supportedSerializationTypes;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 /// <param name="propertyName">The property name.</param>
 /// <param name="supportedSerializationTypes">The supported serialization types.</param>
 public FieldSerializeAttribute(string propertyName, FieldSerializeSerializationTypes supportedSerializationTypes)
 {
     this.propertyName       = propertyName;
     this.serializationTypes = supportedSerializationTypes;
 }