Class ActionInOut<Input, Output>
Abstract class for In-Out Actions.
Inherit from this class to create an Action that returns some data from a given input.
Can be used to create a Toolbox Actions and/or RuleEngine Actions.
Check ActionBase for more implementation details.
Inheritance
System.Object
ActionInOut<Input, Output>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PiXYZ.Tools
Assembly: cs.temp.dll.dll
Syntax
public abstract class ActionInOut<Input, Output> : ActionBase
Type Parameters
Name | Description |
---|---|
Input | Specifies what kind of data enters your actions. |
Output | Specifies what kind of data the actions outputs. |
Properties
inputType
Input type. Specifies what kind of data enters your actions.
Declaration
public override Type inputType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Overrides
outputType
Output type. Specifies what kind of data the actions outputs.
Declaration
public override Type outputType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Overrides
Methods
run(Input)
Abstract execution method. When creating a new action, this method implementation will hold all the processing code.
Declaration
public abstract Output run(Input input)
Parameters
Type | Name | Description |
---|---|---|
Input | input | Input data, of the given inputType |
Returns
Type | Description |
---|---|
Output | Output data, of the given outputType |