public void MarkNotInvalid(ObjectID objectID)
        {
            ArgumentUtility.CheckNotNull("objectID", objectID);
            CheckDisposed();

            _parentInvalidDomainObjectManager.MarkNotInvalid(objectID);
        }
Пример #2
0
        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);
            }
        }