C# / .Net API Library Reference  4.3.2-74-ge1d4cca
Public Functions
ICommandFilter Interface Reference

The ICommandFilter interface is used to implement command filters, to reduce the number of commands sent to the service application. The default filter (DefaultCommandFilter) aggregates redundant input events within views. Changing the default is rare.

Public Functions

void FilterCommands (IList< XElement > commands)

Usage Description

void FilterCommands ( IList< XElement >  commands)

Filters the specified list of commands. Commands that do not pass the filter may be replaced with NullCommand, or they may be removed from the list, at the filter's discretion.

This method will be called by the PureWeb event loop, after the filter is installed through the CommandManager's CommandFilter method.

commandsList of incoming commands to filter.

Implemented in DefaultCommandFilter.