Photon Fusion 2.1.1

DisplayNameAttribute Class Reference

Specifies the display name for a field. More...

Inherits DecoratingPropertyAttribute.

Public Member Functions

 DisplayNameAttribute (string name)
 Initializes a new instance of the DisplayNameAttribute class with the specified name.
Public Member Functions inherited from PropertyAttribute
 PropertyAttribute (bool applyToCollection=false)

Public Attributes

readonly string Name
 Field name to display.

Additional Inherited Members

Static Public Attributes inherited from DecoratingPropertyAttribute
const int DefaultOrder = -10000
 The default order of the attribute.
Protected Member Functions inherited from DecoratingPropertyAttribute
 DecoratingPropertyAttribute (bool applyToCollection=false)
 Initializes a new instance with the default order.
 DecoratingPropertyAttribute (int order, bool applyToCollection=false)
 Initializes a new instance with the specified order.
Properties inherited from PropertyAttribute
new bool applyToCollection [get]

Detailed Description

Specifies the display name for a field.

Constructor & Destructor Documentation

◆ DisplayNameAttribute()

DisplayNameAttribute ( string name)

Initializes a new instance of the DisplayNameAttribute class with the specified name.

Parameters
nameThe display name.