Show / Hide Table of Contents

Interface IDocumentTarget<TCollection, TDocument, TMissing>

Interface for a target that's a document

Inherited Members
IExistingTarget.SetPropertiesAsync(IEnumerable<IUntypedWriteableProperty>, CancellationToken)
ITarget.Name
ITarget.DestinationUrl
Namespace:FubarDev.WebDavServer.Engines
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IDocumentTarget<TCollection, TDocument, TMissing> : IExistingTarget, ITarget where TCollection : class, ICollectionTarget<TCollection, TDocument, TMissing> where TDocument : class, IDocumentTarget<TCollection, TDocument, TMissing> where TMissing : class, IMissingTarget<TCollection, TDocument, TMissing>
Type Parameters
Name Description
TCollection

The interface type for a collection target

TDocument

The interface type for a document target

TMissing

The interface type for a missing target

Methods

| Improve this Doc View Source

DeleteAsync(CancellationToken)

Delete the document target

Declaration
[NotNull]
[ItemNotNull]
Task<TMissing> DeleteAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<TMissing>

The document that's now a missing target (because it was deleted by this function)

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX