public void MarkNotInvalid(ObjectID objectID) { ArgumentUtility.CheckNotNull("objectID", objectID); CheckDisposed(); _parentInvalidDomainObjectManager.MarkNotInvalid(objectID); }
public void MarkNotInvalid(ObjectID objectID) { ArgumentUtility.CheckNotNull("objectID", objectID); if (!_invalidDomainObjectManager.MarkNotInvalid(objectID)) { var message = string.Format("Cannot clear the invalid state from object '{0}' - it wasn't marked invalid in the first place.", objectID); throw new InvalidOperationException(message); } }