Photon Fusion 2.0.4

Public Member Functions | Public Attributes | List of all members
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. More...
 

Public Attributes

readonly string Name
 Field name to display. More...
 

Additional Inherited Members

- Static Public Attributes inherited from DecoratingPropertyAttribute
const int DefaultOrder = -10000
 The default order of the attribute. More...
 
- Protected Member Functions inherited from DecoratingPropertyAttribute
 DecoratingPropertyAttribute ()
 Initializes a new instance with the default order. More...
 
 DecoratingPropertyAttribute (int order)
 Initializes a new instance with the specified order. More...
 

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.

Member Data Documentation

◆ Name

readonly string Name

Field name to display.