1using System.Collections;
17 var theSnooper = snooper.MethodEditorSnooper;
18 if (theSnooper !=
null)
20 foreach (var editedTask
in snooper.MethodEditorSnooper.EditedTasks)
22 if (editedTask.Task == theTask)
24 yield
return $
"This task: {editedTask}";
28 yield
return $
"{editedTask}{GetCaffeineInfo(editedTask)}";
46 return $
", {(brewer.Composition.DeCaffeinated ? "" : "not
")} decaffeinated";
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
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,...
Access to the method editor's view of the task.
TPluginInterface Plugin
Get the inner, plugin defined part of the object.
To be implemented by the "task" part of a Chronos plugin. Public properties of the implementing type ...
Do not implement this interface.
object Task
Task object, Chronos internal type.
If your standard value list cannot be provided without knowing the actual task's details,...
This task just shows how you can react on the method editor contents and provide context sensitive pr...
A task working on a complex parameter set.
This attribute uses the task to which it is applied to query for other tasks in the method editor....
string GetCaffeineInfo(ITaskInEditorInfo editedTask)
If this is a BrewFrappuccino task, we'll find out if it uses decaf coffee.
override IEnumerable GetStandardValues(ITask theTask)