Class ComponentDefinitionProvider<TDefinition>
- Namespace
- Kentico.PageBuilder.Web.Mvc
- Assembly
- Kentico.Content.Web.Mvc.dll
Retrieves list of registered component definitions for Page builder.
[Obsolete("Use Kentico.Builder.Web.Mvc.ComponentDefinitionProvider instead.")]
[ObsoleteSince(30, 2)]
public sealed class ComponentDefinitionProvider<TDefinition> : IComponentDefinitionProvider<TDefinition>, IComponentDefinitionProvider<TDefinition> where TDefinition : ComponentDefinitionBase
Type Parameters
TDefinition
- Inheritance
-
objectComponentDefinitionProvider<TDefinition>
- Implements
-
IComponentDefinitionProvider<TDefinition>IComponentDefinitionProvider<TDefinition>
- Extension Methods
Constructors
ComponentDefinitionProvider()
Creates instance of ComponentDefinitionProvider<TDefinition>
public ComponentDefinitionProvider()
Methods
GetAll()
Gets list of all registered component definitions.
public IEnumerable<TDefinition> GetAll()
Returns
- IEnumerable<TDefinition>