C# Class System.ComponentModel.DisplayNameResourceAttribute

Inheritance: DisplayNameAttribute
Show file Open project: netfx/extensions Class Usage Examples

Public Methods

Method Description
DisplayNameResourceAttribute ( string resourceName, Type resourceType ) : System

Initializes a new instance of the DisplayNameResourceAttribute class.

Private Methods

Method Description
GetLocalizedString ( ) : string

Returns the localized string from the resource file.

Method Details

DisplayNameResourceAttribute() public method

Initializes a new instance of the DisplayNameResourceAttribute class.
public DisplayNameResourceAttribute ( string resourceName, Type resourceType ) : System
resourceName string The resource string.
resourceType System.Type Type of the resource.
return System