Class MissingTarget
The missing local file system target
Inherited Members
Namespace:FubarDev.WebDavServer.Engines.Local
Assembly:FubarDev.WebDavServer.dll
Syntax
public class MissingTarget : IMissingTarget<CollectionTarget, DocumentTarget, MissingTarget>, ITarget
Constructors
| Improve this Doc View SourceMissingTarget(Uri, String, CollectionTarget, ITargetActions<CollectionTarget, DocumentTarget, MissingTarget>)
Initializes a new instance of the MissingTarget class.
Declaration
public MissingTarget(Uri destinationUrl, string name, CollectionTarget parent, ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | destinationUrl | The destination URL for this entry |
| String | name | The name of the missing target |
| CollectionTarget | parent | The parent collection |
| ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> | targetActions | The target actions implementation to use |
Properties
| Improve this Doc View SourceDestinationUrl
Gets the destination URL of the target
Declaration
public Uri DestinationUrl { get; }
Property Value
| Type | Description |
|---|---|
| Uri |
Implements
| Improve this Doc View SourceName
Gets the name of the target
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Implements
| Improve this Doc View SourceParent
Gets the parent collection
Declaration
public CollectionTarget Parent { get; }
Property Value
| Type | Description |
|---|---|
| CollectionTarget |
Methods
| Improve this Doc View SourceCreateCollectionAsync(CancellationToken)
Declaration
public Task<CollectionTarget> CreateCollectionAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<CollectionTarget> |
Implements
| Improve this Doc View SourceNewInstance(Uri, ICollection, String, ITargetActions<CollectionTarget, DocumentTarget, MissingTarget>)
Creates a new instance of the MissingTarget class.
Declaration
[NotNull]
public static MissingTarget NewInstance([NotNull] Uri destinationUrl, [NotNull] ICollection parent, [NotNull] string name, [NotNull] ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | destinationUrl | The destination URL for this entry |
| ICollection | parent | The parent collection |
| String | name | The name of the missing target |
| ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> | targetActions | The target actions implementation to use |
Returns
| Type | Description |
|---|---|
| MissingTarget | The newly created missing target object |