Table of Contents

Class FormBuilderDefinitionProvider<TDefinition>

Namespace
Kentico.Forms.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Retrieves list of registered object definitions for Form Builder.

public sealed class FormBuilderDefinitionProvider<TDefinition> : IFormBuilderDefinitionProvider<TDefinition> where TDefinition : ComponentDefinitionBase, IFormBuilderDefinition

Type Parameters

TDefinition
Inheritance
object
FormBuilderDefinitionProvider<TDefinition>
Implements
Extension Methods

Methods

Get(string)

Gets a Form Builder object definition by its Identifier.

public TDefinition Get(string identifier)

Parameters

identifier string

Identifier of the object definition to retrieve.

Returns

TDefinition

Returns object definition with given identifier, or null when not found.

GetAll()

Gets an enumeration of all registered Form Builder object definitions.

public IEnumerable<TDefinition> GetAll()

Returns

IEnumerable<TDefinition>