public void AddOperation(string name, OperationControl operation, string dependencyName) { _operationEntries.Add(InstanceName, name, _operationMachinesByControlObject.For(operation), Maybe.From(dependencyName)); }
public void AddOperation(string name, OperationControl operation, string dependencyName) { var stateMachine = _operationMachinesByControlObject.For(operation); stateMachine.SaveUsing(this, name, _xmlConfigurationOutputBuilder); //bug remove name from here and pass through constructor }