C# Class PlaceHolderAttribute, i18N-Complete

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

Méthodes publiques

Méthode 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 méthode

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

PlaceHolderAttribute() public méthode

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