Class DisplayNameAttribute
Attribute used to set a custom display name in a property decorator.
Namespace: Unity.MARS.Attributes
Syntax
[AttributeUsage(AttributeTargets.Field)]
[MovedFrom("Unity.MARS")]
public sealed class DisplayNameAttribute : Attribute, _Attribute
Constructors
DisplayNameAttribute(String)
Attribute used to set a custom display name in a property decorator.
Declaration
public DisplayNameAttribute(string displayName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | displayName | The display name to be used in a property decorator. |
Fields
displayName
The display name to be used in a property decorator.
Declaration
public readonly string displayName
Field Value
| Type | Description |
|---|---|
| String |