/// <summary> /// Executes this process /// </summary> public void Execute() { Initialize(); MergeLastOperationsToOperations(); RegisterToOperationsEvents(); Trace("Starting to execute {0}", Name); PipelineExecuter.Execute(Name, operations, TranslateRows); PostProcessing(); }
/// <summary> /// Executes this process /// </summary> public async Task Execute(CancellationToken cancellationToken = default) { Initialize(); MergeLastOperationsToOperations(); RegisterToOperationsEvents(); Trace("Starting to execute {ProcessName}", Name); await PipelineExecuter.Execute(Name, operations, TranslateRows, cancellationToken); PostProcessing(); }
/// <summary> /// Executes this process /// </summary> public virtual void Execute() { Initialize(); MergeLastOperationsToOperations(); RegisterToOperationsEvents(); Notice("Starting to execute {0}", Name); PipelineExecuter.Execute(Name, operations); PostProcessing(); OnProcessCompleted(); }