BuildMaster SDK Reference
Version:
ConvertActionToOperation(TAction action, IActionConverterContext context) Method
Returns a Inedo.Extensibility.Operations.Operation that is functionally equivalent to the supplied <typeparamref name="TAction" />.
Syntax
public
abstract
ConvertedOperation<TOperation> ConvertActionToOperation(TAction action, IActionConverterContext context)
Parameters
- action
- Type: TAction
An instance of <typeparamref name="TAction" /> to convert.
- context
- Type: IActionConverterContext
Contains context information and conversion helper methods.
Returns
Inedo.Extensibility.Operations.Operation that is functionally equivalent to the supplied <typeparamref name="TAction" />.