Class ExtendedDataAnnotationsModelMetadataProvider
Inheritance
System.Object
ExtendedDataAnnotationsModelMetadataProvider
Assembly: EPiServer.Shell.dll
Version: 11.20.7
public class ExtendedDataAnnotationsModelMetadataProvider : DataAnnotationsModelMetadataProvider
Constructors
ExtendedDataAnnotationsModelMetadataProvider(LocalizationService, ServiceAccessor<HttpContextBase>)
Declaration
public ExtendedDataAnnotationsModelMetadataProvider(LocalizationService localizationService, ServiceAccessor<HttpContextBase> httpContext)
Parameters
Methods
Declaration
protected override ModelMetadata CreateMetadata(IEnumerable<Attribute> attributes, Type containerType, Func<object> modelAccessor, Type modelType, string propertyName)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<System.Attribute> |
attributes |
|
| System.Type |
containerType |
|
| System.Func<System.Object> |
modelAccessor |
|
| System.Type |
modelType |
|
| System.String |
propertyName |
|
Returns
| Type |
Description |
| System.Web.Mvc.ModelMetadata |
|
Extension Methods