Constructor OutputAttribute
OutputAttribute(string, OutputFlags)
Constructs an output attribute with the name passed as argument.
Declaration
public OutputAttribute(string name = null, OutputFlags flags = OutputFlags.None)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name that is to be used for the property. |
OutputFlags | flags |
Remarks
By default the property type name will be used for display purposes. Alternatively, an override name can be passed to the output attribute constructor.