//public void planOperation(Action operation) //{ //} /// <summary> /// Generic method to plan a <seealso cref="Runnable"/>. /// </summary> public virtual void PlanOperation(AbstractOperation operation) { operations.Push(operation); if (operation is AbstractOperation) { IExecutionEntity execution = operation.Execution; if (execution != null) { commandContext.AddInvolvedExecution(execution); } } //logger.LogDebug($"Operation {operation.GetType()} added to agenda"); }