Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.Tasks.WeakTask Class Reference
Inheritance diagram for pluginbase.Objects.Tasks.WeakTask:
pluginbase.Objects.Tasks.ITask

Public Member Functions

 WeakTask (Func< TaskResult > task, TimeSpan freq)
 
 WeakTask (Action task, TimeSpan freq)
 
 WeakTask (MethodInfo method, object target, TimeSpan freq, bool returnsVal)
 

Additional Inherited Members

- Properties inherited from pluginbase.Objects.Tasks.ITask
TimeSpan Frequency [get]
 

Constructor & Destructor Documentation

pluginbase.Objects.Tasks.WeakTask.WeakTask ( Func< TaskResult task,
TimeSpan  freq 
)
18  {
19  _frequency = freq;
20  _weakFunc = WeakDelegate.Wrap<Func<TaskResult>>(task, () => _isDead = true);
21  }
Code generator for weak delegate wrappers
Definition: WeakDelegate.cs:12
pluginbase.Objects.Tasks.WeakTask.WeakTask ( Action  task,
TimeSpan  freq 
)
24  {
25  _frequency = freq;
26  _weakAction = WeakDelegate.Wrap<Action>(task, () => _isDead = true);
27  }
Code generator for weak delegate wrappers
Definition: WeakDelegate.cs:12
pluginbase.Objects.Tasks.WeakTask.WeakTask ( MethodInfo  method,
object  target,
TimeSpan  freq,
bool  returnsVal 
)
30  {
31  _frequency = freq;
32  _weakAction = WeakDelegate.Wrap<Action>(target, method, () => _isDead = true);
33  }
Code generator for weak delegate wrappers
Definition: WeakDelegate.cs:12

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