November Happy Hour will be moved to Thursday December 5th.

Class ExtendedDataAnnotationsModelMetadataProvider

Inheritance
System.Object
ExtendedDataAnnotationsModelMetadataProvider
Namespace: EPiServer.Shell.ObjectEditing
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class ExtendedDataAnnotationsModelMetadataProvider : DataAnnotationsModelMetadataProvider

Constructors

ExtendedDataAnnotationsModelMetadataProvider(LocalizationService, ServiceAccessor<HttpContextBase>)

Declaration
public ExtendedDataAnnotationsModelMetadataProvider(LocalizationService localizationService, ServiceAccessor<HttpContextBase> httpContext)
Parameters
Type Name Description
LocalizationService localizationService
ServiceAccessor<System.Web.HttpContextBase> httpContext

Methods

CreateMetadata(IEnumerable<Attribute>, Type, Func<Object>, Type, String)

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