class MAGES::PropertyCollection¶
Overview¶
A class meant to be used for grouping properties that can be overriden by a user. NOTE: OverridableProperty<T> can only be used in classes that inherit from PropertyCollection. More…
class PropertyCollection { public: // properties object this[string field]; // methods PropertyCollection(); }; // direct descendants class Data; class Data; class Data; class Data; class Data; class Data;
Detailed Documentation¶
A class meant to be used for grouping properties that can be overriden by a user. NOTE: OverridableProperty<T> can only be used in classes that inherit from PropertyCollection.
Properties¶
object this[string field]
Gets the value of the property with the given name.
Parameters:
field |
The field name. |
Returns:
The resolved object.
Methods¶
PropertyCollection()
Initializes a new instance of the PropertyCollection class.