ImportantPropertyAttribute
Attribute[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public class ImportantPropertyAttribute : Attribute
Defines attributes to be assigned to properties on IDocumentObject classes.
Constructors
ImportantPropertyAttribute
#public ImportantPropertyAttribute()
Default constructor for ObjectPropertyAttributes. This will include the property value during serialization.
ImportantPropertyAttribute
#public ImportantPropertyAttribute(dynamic defaultValue, IEnumerable<string> presetNames, IEnumerable<dynamic> presetValues)
Constructor for ObjectPropertyAttributes. This will include the property value during serialization.
Parameters:
| defaultValue (dynamic) | Default value. This is used during deserialization if the data cannot be found. |
| presetNames (IEnumerable<string>) | Collection of preset names. |
| presetValues (IEnumerable<dynamic>) | Collection of preset values. |
ImportantPropertyAttribute
#public ImportantPropertyAttribute(dynamic defaultValue)
Constructor for ObjectPropertyAttributes. This will include the property value during serialization.
Parameters:
| defaultValue (dynamic) | Default value. This is used during deserialization if the data cannot be found. |