Add response filter to the collection of filters to be executed for current response.
Namespace: Kentico.Web.Mvc.InternalAssembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntaxpublic void Add(
string filterName,
Func<string, string> filter
)
Parameters
- filterName
- Type: SystemString
Unique filter name - filter
- Type: SystemFuncString, String
Response filter
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when filter or filterName is not set. |
See Also