C# Class AppEvents.Rule

Datei anzeigen Open project: dkarzon/AppEvents

Private Properties

Property Type Description
Rule System
RunOperations bool

Public Methods

Method Description
And ( bool>.Func op ) : Rule
And ( string eventName, int count = 1 ) : Rule
AndNot ( string eventName, int count = 1 ) : Rule
Do ( Action action ) : Rule

Adds the action to the RuleSet for the Client to execute

Rule ( string name ) : System
When ( bool>.Func op ) : Rule
When ( string eventName, int count = 1 ) : Rule

Private Methods

Method Description
Rule ( ) : System
RunOperations ( UserEventList eventList ) : bool

Method Details

And() public method

public And ( bool>.Func op ) : Rule
op bool>.Func
return Rule

And() public method

public And ( string eventName, int count = 1 ) : Rule
eventName string
count int
return Rule

AndNot() public method

public AndNot ( string eventName, int count = 1 ) : Rule
eventName string
count int
return Rule

Do() public method

Adds the action to the RuleSet for the Client to execute
public Do ( Action action ) : Rule
action Action
return Rule

Rule() public method

public Rule ( string name ) : System
name string
return System

When() public method

public When ( bool>.Func op ) : Rule
op bool>.Func
return Rule

When() public method

public When ( string eventName, int count = 1 ) : Rule
eventName string
count int
return Rule