C# Class PlaceHolderAttribute, i18N-Complete

Adds a localized version of the PlaceHolder attribute
Inheritance: DisplayNameAttribute, IMetadataAware
Datei anzeigen Open project: adaptabi/i18N-Complete Class Usage Examples

Public Methods

Method Description
OnMetadataCreated ( ModelMetadata metadata ) : void

Provides metadata to the model metadata creation process.

PlaceHolderAttribute ( string placeholder ) : System

Creates a new instance of PlaceHolderAttribute

Method Details

OnMetadataCreated() public method

Provides metadata to the model metadata creation process.
public OnMetadataCreated ( ModelMetadata metadata ) : void
metadata ModelMetadata The model metadata.
return void

PlaceHolderAttribute() public method

Creates a new instance of PlaceHolderAttribute
public PlaceHolderAttribute ( string placeholder ) : System
placeholder string The placeholder text to be translated
return System