Interface IMissingTarget<TCollection, TDocument, TMissing>
Interface for a target that's missing
Namespace:FubarDev.WebDavServer.Engines
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IMissingTarget<TCollection, TDocument, TMissing> : 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 SourceCreateCollectionAsync(CancellationToken)
Creates a collection with the same name of this target
Declaration
[NotNull]
Task<TCollection> CreateCollectionAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token |
Returns
| Type | Description |
|---|---|
| Task<TCollection> | The created collection target |