Table of Contents

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
object
ComponentDefinitionProvider<TDefinition>
Implements
Extension Methods

Constructors

ComponentDefinitionProvider()

public ComponentDefinitionProvider()

Methods

GetAll()

Gets list of all registered component definitions.

public IEnumerable<TDefinition> GetAll()

Returns

IEnumerable<TDefinition>