/// <summary> /// Removes an operation from the Operations collection /// </summary> /// <param name="operation">Operation to remove</param> public void RemoveOperation(Operation operation) { if (operation == null) { throw new ArgumentNullException("operation"); } CheckObjectIsValid(operation); if (!Operations.ContainsKey(operation.Key)) { return; } Instance.RemoveOperation(operation); Operations.RemoveValue(operation.Key); }