Table of Contents

Class FormComponentDefinitionEnumerableExtensions

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

Class provides extension methods for enumerables of form component definitions.

public static class FormComponentDefinitionEnumerableExtensions
Inheritance
object
FormComponentDefinitionEnumerableExtensions

Methods

Filter(IEnumerable<FormComponentDefinition>, IEnumerable<IFormComponentFilter>, FormComponentFilterContext)

Applies form component filters on a collection of formComponents and returns a filtered collection.

public static IEnumerable<FormComponentDefinition> Filter(this IEnumerable<FormComponentDefinition> formComponents, IEnumerable<IFormComponentFilter> formComponentFilters, FormComponentFilterContext context)

Parameters

formComponents IEnumerable<FormComponentDefinition>
formComponentFilters IEnumerable<IFormComponentFilter>
context FormComponentFilterContext

Returns

IEnumerable<FormComponentDefinition>

Filtered form component collection.