Interface IDocumentTarget<TCollection, TDocument, TMissing>
Interface for a target that's a document
Inherited Members
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 SourceDeleteAsync(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) |