Class MetadataHandlerRegistry
Inheritance
System.Object
MetadataHandlerRegistry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Shell.dll
Version: 11.20.7
[ServiceConfiguration(typeof(MetadataHandlerRegistry), Lifecycle = ServiceInstanceScope.Singleton)]
public class MetadataHandlerRegistry
Constructors
Declaration
public MetadataHandlerRegistry(EditorDescriptor[] descriptors, IModelAccessorCreator[] modelAccessorCreators)
Parameters
Declaration
public MetadataHandlerRegistry(EditorDescriptor[] descriptors, IModelAccessorCreator[] modelAccessorCreators, IEditorDefinitionRepository editorDefinitionRepository)
Parameters
Methods
Declaration
public IEnumerable<IMetadataHandler> GetMetadataHandlers(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Declaration
public IEnumerable<IMetadataHandler> GetMetadataHandlers(Type type, string uiHint)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.String |
uiHint |
|
Returns
Declaration
public Func<object> GetModelAccessor(Type type, Dictionary<string, string> arguments)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
arguments |
|
Returns
Type |
Description |
System.Func<System.Object> |
|
Declaration
public void RegisterMetadataHandler(Type type, IMetadataHandler metadataHandler)
Parameters
Declaration
public void RegisterMetadataHandler(Type type, IMetadataHandler metadataHandler, string typeOverride)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
IMetadataHandler |
metadataHandler |
|
System.String |
typeOverride |
|
Declaration
public void RegisterMetadataHandler(Type type, IMetadataHandler metadataHandler, string uiHint, EditorDescriptorBehavior editorDescriptorBehavior)
Parameters
Declaration
public void RegisterMetadataHandler(Type[] types, IMetadataHandler metadataHandler)
Parameters
Declaration
public void RegisterModelAccessorCreator(Type type, IModelAccessorCreator accessorCreator)
Parameters
Extension Methods