Try our conversational search powered by Generative AI!

Class UIDescriptorRegistry

Inheritance
System.Object
UIDescriptorRegistry
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()
Namespace: EPiServer.Shell
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(UIDescriptorRegistry), Lifecycle = ServiceInstanceScope.Singleton)]
public class UIDescriptorRegistry

Constructors

UIDescriptorRegistry(UIDescriptor[], IUIDescriptorInitializer[])

Declaration
public UIDescriptorRegistry(UIDescriptor[] uiDescriptors, IUIDescriptorInitializer[] initializers)
Parameters
Type Name Description
UIDescriptor[] uiDescriptors
IUIDescriptorInitializer[] initializers

UIDescriptorRegistry(UIDescriptor[], IUIDescriptorInitializer[], UIDescriptorProvider[])

Declaration
public UIDescriptorRegistry(UIDescriptor[] uiDescriptors, IUIDescriptorInitializer[] initializers, UIDescriptorProvider[] descriptorProviders)
Parameters
Type Name Description
UIDescriptor[] uiDescriptors
IUIDescriptorInitializer[] initializers
UIDescriptorProvider[] descriptorProviders

Properties

UIDescriptors

Declaration
public virtual IEnumerable<UIDescriptor> UIDescriptors { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<UIDescriptor>

Methods

GetDescriptorsForType(Type)

Declaration
public virtual IEnumerable<UIDescriptor> GetDescriptorsForType(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Collections.Generic.IEnumerable<UIDescriptor>

GetTypeIdentifiers(Type)

Declaration
public virtual IEnumerable<string> GetTypeIdentifiers(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

HasMatchedTypeIdentifier(Type, IEnumerable<String>)

Declaration
public virtual bool HasMatchedTypeIdentifier(Type type, IEnumerable<string> typeIdentifiers)
Parameters
Type Name Description
System.Type type
System.Collections.Generic.IEnumerable<System.String> typeIdentifiers
Returns
Type Description
System.Boolean

Extension Methods