Operation Class

The common base class for all types of operations.

Inheritance Hierarchy

Syntax

public class Operation : Inedo.Diagnostics.ILogSink

Events

Name Description
MessageLogged

Occurs when a message is logged.

Methods

Name Description
ExecuteCommandLineAsync(IOperationExecutionContext context, Inedo.Agents.RemoteProcessStartInfo startInfo)
GetDescription(IOperationConfiguration config)
GetLogScopeName(System.Type operationType, Inedo.ExecutionEngine.ActionStatement statement)
GetProgress

Returns the current progress of the action as a percentage if it is executing.

Log(Inedo.Diagnostics.IMessage message)
LogProcessError(string text)
LogProcessOutput(string text)
OnMessageLogged(Inedo.Diagnostics.LogMessageEventArgs e)

Remarks

This class should not be inherited directly. Instead, see ExecuteOperation.