Click or drag to resize
ResponseFilterAdd Method
Add response filter to the collection of filters to be executed for current response.

Namespace: Kentico.Web.Mvc.Internal
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public void Add(
	string filterName,
	Func<string, string> filter
)

Parameters

filterName
Type: SystemString
Unique filter name
filter
Type: SystemFuncString, String
Response filter
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when filter or filterName is not set.
See Also