Table of Contents

Class SectionDefinitionProvider

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

Retrieves list of registered section definitions for Form Builder.

public sealed class SectionDefinitionProvider : ISectionDefinitionProvider, IFormBuilderDefinitionProvider<SectionDefinition>
Inheritance
object
SectionDefinitionProvider
Implements
Extension Methods

Methods

Get(string)

Gets a section definition by its Identifier.

public SectionDefinition Get(string identifier)

Parameters

identifier string

Identifier of the section definition to retrieve.

Returns

SectionDefinition

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

GetAll()

Gets an enumeration of all registered section definitions.

public IEnumerable<SectionDefinition> GetAll()

Returns

IEnumerable<SectionDefinition>