Table of Contents

Interface IAgendaFilter

Namespace
NRules.AgendaFilters
Assembly
NRules.dll

Base interface for agenda filters. Agenda filters are applied to rule matches (activations) before they are added to the agenda. If activation does not pass all the filters, it is not added to the agenda, and so the rule will not fire.

public interface IAgendaFilter

Methods

Accept(AgendaContext, Activation)

Tests rule activation whether it should be added to the agenda.

bool Accept(AgendaContext context, Activation activation)

Parameters

context AgendaContext

Agenda context.

activation Activation

Rule activation.

Returns

bool

Whether the activation should be added to the agenda - true, or not - false.