C# Class GettextMvcLib.GettextMetadataProvider

Inheritance: System.Web.Mvc.ModelMetadataProvider
Show file Open project: while-true/gettext Class Usage Examples

Public Methods

Method Description
GetMetadataForProperties ( object container, Type containerType ) : IEnumerable
GetMetadataForProperty ( Func modelAccessor, Type containerType, string propertyName ) : ModelMetadata
GetMetadataForType ( Func modelAccessor, Type modelType ) : ModelMetadata
GettextMetadataProvider ( System.Web.Mvc.ModelMetadataProvider implementation ) : System

Method Details

GetMetadataForProperties() public method

public GetMetadataForProperties ( object container, Type containerType ) : IEnumerable
container object
containerType System.Type
return IEnumerable

GetMetadataForProperty() public method

public GetMetadataForProperty ( Func modelAccessor, Type containerType, string propertyName ) : ModelMetadata
modelAccessor Func
containerType System.Type
propertyName string
return ModelMetadata

GetMetadataForType() public method

public GetMetadataForType ( Func modelAccessor, Type modelType ) : ModelMetadata
modelAccessor Func
modelType System.Type
return ModelMetadata

GettextMetadataProvider() public method

public GettextMetadataProvider ( System.Web.Mvc.ModelMetadataProvider implementation ) : System
implementation System.Web.Mvc.ModelMetadataProvider
return System