Chronos Plugins  5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
AxelSemrau.Chronos.Plugin.Consumables.IConsumer Interface Reference

For tasks that intend to modify consumable levels. More...

+ Inheritance diagram for AxelSemrau.Chronos.Plugin.Consumables.IConsumer:
+ Collaboration diagram for AxelSemrau.Chronos.Plugin.Consumables.IConsumer:

Properties

IConsumableManipulator Consumables [set]
 You will get an instance of a helper class that helps your task to find the correct consumable puddle. More...
 

Additional Inherited Members

- Public Member Functions inherited from AxelSemrau.Chronos.Plugin.ITask
void PreValidate ()
 Called before the schedule construction is completed. More...
 
void PostValidate ()
 Called after the schedule construction is completed. More...
 
void Execute ()
 Do whatever you have to do with your parameters. More...
 
string GetTaskAction ()
 Description of the tasks's action (for hints/time table) More...
 

Detailed Description

For tasks that intend to modify consumable levels.

Definition at line 9 of file IConsumer.cs.

Property Documentation

◆ Consumables

IConsumableManipulator AxelSemrau.Chronos.Plugin.Consumables.IConsumer.Consumables
set

You will get an instance of a helper class that helps your task to find the correct consumable puddle.

You can use this indepenedently of active consumables manager - if there is none, you'll just get a dummy here. This will be set to different instances for validation and execution time. Please use this in ITask.PostValidate() (which may be called repeatedly), not ITask.PreValidate().

Definition at line 19 of file IConsumer.cs.

19 { set; }

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