◆ AbstractTrigger() [1/2]
essentials.Systems.Triggers.AbstractTrigger.AbstractTrigger |
( |
TimeSpan |
checkFrequency | ) |
|
|
protected |
39 this.InjectDependencies();
40 this._checkFrequency = checkFrequency;
◆ AbstractTrigger() [2/2]
essentials.Systems.Triggers.AbstractTrigger.AbstractTrigger |
( |
| ) |
|
|
protected |
44 :
this(TimeSpan.FromSeconds(2))
◆ CheckTrigger()
abstract bool essentials.Systems.Triggers.AbstractTrigger.CheckTrigger |
( |
| ) |
|
|
protectedpure virtual |
◆ Dispose()
void essentials.Systems.Triggers.AbstractTrigger.Dispose |
( |
| ) |
|
void Stop()
Stops the task
◆ HandleTriggerCheck()
TaskResult essentials.Systems.Triggers.AbstractTrigger.HandleTriggerCheck |
( |
| ) |
|
|
protected |
74 _triggered.Invoke(d => d(
this));
abstract bool CheckTrigger()
TaskResult
The result of a scheduled task
Definition: TaskResult.cs:8
◆ Listen()
void essentials.Systems.Triggers.AbstractTrigger.Listen |
( |
| ) |
|
50 throw new ObjectDisposedException(
"Trigger");
52 throw new Exception(
"Already listening");
TaskResult HandleTriggerCheck()
Definition: AbstractTrigger.cs:67
◆ TriggerCount
int essentials.Systems.Triggers.AbstractTrigger.TriggerCount |
|
get |
◆ Triggered
Action<ITrigger> essentials.Systems.Triggers.AbstractTrigger.Triggered |
|
addremove |
The documentation for this class was generated from the following file: