Empeld
Empeld plugin documentation.
|
Annotates a method in a class as a recurring task. Must use binding extension to active More...
Public Member Functions | |
TaskAttribute (double freqSeconds) | |
Initializes a new instance of the pluginbase.Objects.Tasks.TaskAttribute class. More... | |
TaskAttribute (double freqSeconds, object scopeEnum) | |
Initializes a new instance of the pluginbase.Objects.Tasks.TaskAttribute class. More... | |
Public Member Functions inherited from pluginbase.Helpers.Attributes.ScopeAttribute | |
ScopeAttribute () | |
ScopeAttribute (object scopeEnum) | |
bool | HasScope (Enum scope) |
override string | ToString () |
Public Attributes | |
readonly TimeSpan | Frequency |
The frequency of the running task More... | |
Additional Inherited Members | |
Public Types inherited from pluginbase.Helpers.Attributes.ScopeAttribute | |
enum | Special { Special.Wildcard } |
Properties inherited from pluginbase.Helpers.Attributes.ScopeAttribute | |
Enum | Scope [get, set] |
bool | IsFlags [get] |
bool | ScopeDefined [get] |
Annotates a method in a class as a recurring task. Must use binding extension to active
Attribute: AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)
pluginbase.Objects.Tasks.TaskAttribute.TaskAttribute | ( | double | freqSeconds | ) |
Initializes a new instance of the pluginbase.Objects.Tasks.TaskAttribute class.
freqSeconds | Frequqnecy of task in seconds. |
pluginbase.Objects.Tasks.TaskAttribute.TaskAttribute | ( | double | freqSeconds, |
object | scopeEnum | ||
) |
Initializes a new instance of the pluginbase.Objects.Tasks.TaskAttribute class.
freqSeconds | Freq of tasks in seconds. |
scopeEnum | Scopes that apply, comma separated |
readonly TimeSpan pluginbase.Objects.Tasks.TaskAttribute.Frequency |
The frequency of the running task