Click or drag to resize

IStatefulAgendaFilter Interface

Base interface for stateful agenda filters that store some state related to the activations and need to update that state during the activation lifecycle.

Namespace:  NRules.AgendaFilters
Assembly:  NRules (in NRules.dll) Version: 0.9.3
Syntax
C#
public interface IStatefulAgendaFilter : IAgendaFilter

The IStatefulAgendaFilter type exposes the following members.

Methods
  NameDescription
Public methodAccept
Tests rule activation whether it should be added to the agenda.
(Inherited from IAgendaFilter.)
Public methodRemove
Called by the engine when activation is removed from the agenda. The agenda filter can use this method to remove any state associated with the activation.
Public methodSelect
Called by the engine when activation is selected from the agenda, before rule's actions are executed.
Top
See Also