Raven.Storage.Managed.AttachmentsStorageActions.DeleteAttachment C# (CSharp) Метод

DeleteAttachment() публичный Метод

public DeleteAttachment ( string key, System.Guid etag ) : void
key string
etag System.Guid
Результат void
		public void DeleteAttachment(string key, Guid? etag)
		{
			var attachmentPosition = Mutator.Attachments.FindValue(key);
			if (attachmentPosition == null)
				return;
			Mutator.DecrementAttachmentCount();
			EnsureValidEtag(key, attachmentPosition.Value, etag);

			Mutator.Attachments.Remove(key);
		}