public void AddCommand(NodeGraphCommand command) { if (_IsProcessingHistory) { return; } if (null != _TransactionAdding) { _TransactionAdding.Add(command); if (NodeGraphManager.OutputDebugInfo) { System.Diagnostics.Debug.WriteLine(string.Format("Add command to transaction {0} : {1}", _TransactionAdding.Name, command.Name)); } } }
public void Add(NodeGraphCommand command) { Commands.Add(command); }