/// <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; }
/// <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; }