Table of Contents

Interface IFormSectionPropertiesReader

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

Service for reading form section properties from request.

public interface IFormSectionPropertiesReader
Extension Methods

Methods

Read(HttpRequest, string)

Reads section properties from the request.

Task<IFormSectionProperties> Read(HttpRequest request, string sectionIdentifier)

Parameters

request HttpRequest

Current request

sectionIdentifier string

Identifier of registered form section

Returns

Task<IFormSectionProperties>

Read(HttpRequest, Type)

Reads section properties from the request.

Task<IFormSectionProperties> Read(HttpRequest request, Type propertiesType)

Parameters

request HttpRequest

Current request

propertiesType Type

Type of form section properties

Returns

Task<IFormSectionProperties>

Read<TProperties>(HttpRequest)

Reads section properties of type from the request.

Task<TProperties> Read<TProperties>(HttpRequest request) where TProperties : IFormSectionProperties

Parameters

request HttpRequest

Current request

Returns

Task<TProperties>

Type Parameters

TProperties