C# Class Shaml.Core.EnumDisplayNameAttribute

Provides an Attribute to set the display name for the items in the enum
Inheritance: System.Attribute
Mostrar archivo Open project: sztupy/shaml

Public Methods

Method Description
EnumDisplayNameAttribute ( ) : System

The display name should be the same as the value itself

EnumDisplayNameAttribute ( string DisplayName ) : System

Method Details

EnumDisplayNameAttribute() public method

The display name should be the same as the value itself
public EnumDisplayNameAttribute ( ) : System
return System

EnumDisplayNameAttribute() public method

public EnumDisplayNameAttribute ( string DisplayName ) : System
DisplayName string
return System