Try our conversational search powered by Generative AI!

Interface IMetadataProvider

Namespace: EPiServer.Shell.ObjectEditing
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public interface IMetadataProvider : IMetadataHandler

Methods

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

Declaration
ExtendedMetadata 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
ExtendedMetadata

GetMetadataForProperties(Object, Type)

Declaration
IEnumerable<ExtendedMetadata> GetMetadataForProperties(object container, Type containerType)
Parameters
Type Name Description
System.Object container
System.Type containerType
Returns
Type Description
System.Collections.Generic.IEnumerable<ExtendedMetadata>

Extension Methods