Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
essentials.Systems.Triggers.SimpleTrigger Class Reference
Inheritance diagram for essentials.Systems.Triggers.SimpleTrigger:
essentials.Systems.Triggers.AbstractTrigger essentials.Systems.Triggers.ITrigger

Public Member Functions

 SimpleTrigger (Func< bool > trigger)
- Public Member Functions inherited from essentials.Systems.Triggers.AbstractTrigger
void Listen ()
void Dispose ()

Protected Member Functions

override bool CheckTrigger ()
- Protected Member Functions inherited from essentials.Systems.Triggers.AbstractTrigger
 AbstractTrigger (TimeSpan checkFrequency)
 AbstractTrigger ()
TaskResult HandleTriggerCheck ()

Additional Inherited Members

- Properties inherited from essentials.Systems.Triggers.AbstractTrigger
int TriggerCount [get]
Action< ITriggerTriggered
- Properties inherited from essentials.Systems.Triggers.ITrigger
int TriggerCount [get]
- Events inherited from essentials.Systems.Triggers.ITrigger
Action< ITriggerTriggered

Constructor & Destructor Documentation

essentials.Systems.Triggers.SimpleTrigger.SimpleTrigger ( Func< bool >  trigger)
10  {
11  this._trigger = trigger;
12  }

Member Function Documentation

override bool essentials.Systems.Triggers.SimpleTrigger.CheckTrigger ( )

Implements essentials.Systems.Triggers.AbstractTrigger.

15  {
16  return _trigger();
17  }

The documentation for this class was generated from the following file: