Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
MockMethodEditorSnoopingTask.cs
Go to the documentation of this file.
2
3namespace MockPlugin.Tasks
4{
9 {
10
11 [TaskList]
12 public string SomeProperty { get; set; }
13
14 public void PreValidate()
15 {
16 // nothing to do
17 }
18
19 public void PostValidate()
20 {
21 // nothing to do
22 }
23
24 public void Execute()
25 {
26 // nothing to do
27 }
28
29 public string GetTaskAction() =>
30 "This task is just meant as a demonstration for method editor interaction and does not do anything.";
31
35 public IMethodEditorSnooper MethodEditorSnooper { internal get; set; }
36 }
37}
Auxiliary functions that can improve the usablility of the method editor for your task types.
Example task implementations. Since there are lots of things that can be done from a task,...
Implement IMethodEditorSnoopingTask. Do not implement this interface.
Implement this interface with your task to get information about your surroundings in the method edit...
This task just shows how you can react on the method editor contents and provide context sensitive pr...
string GetTaskAction()
Description of the tasks's action (for hints/time table)
IMethodEditorSnooper MethodEditorSnooper
Since the getter is internal, the property will not be visible in the method editor.
void PostValidate()
Called after the schedule construction is completed.
void PreValidate()
Called before the schedule construction is completed.
void Execute()
Do whatever you have to do with your parameters.