Show / Hide Table of Contents

Class DocumentTarget

The local file system document target

Inheritance
Object
EntryTarget
DocumentTarget
Inherited Members
EntryTarget.Name
EntryTarget.Parent
EntryTarget.DestinationUrl
EntryTarget.TargetActions
EntryTarget.SetPropertiesAsync(IEnumerable<IUntypedWriteableProperty>, CancellationToken)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Engines.Local
Assembly:FubarDev.WebDavServer.dll
Syntax
public class DocumentTarget : EntryTarget, IDocumentTarget<CollectionTarget, DocumentTarget, MissingTarget>, IExistingTarget, ITarget

Constructors

| Improve this Doc View Source

DocumentTarget(CollectionTarget, Uri, IDocument, ITargetActions<CollectionTarget, DocumentTarget, MissingTarget>)

Initializes a new instance of the DocumentTarget class.

Declaration
public DocumentTarget([NotNull] CollectionTarget parent, [NotNull] Uri destinationUrl, [NotNull] IDocument document, [NotNull] ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions)
Parameters
Type Name Description
CollectionTarget parent

The parent collection

Uri destinationUrl

The destination URL for this collection

IDocument document

The underlying document

ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions

The target actions implementation to use

Properties

| Improve this Doc View Source

Document

Gets the underlying document

Declaration
[NotNull]
public IDocument Document { get; }
Property Value
Type Description
IDocument

Methods

| Improve this Doc View Source

DeleteAsync(CancellationToken)

Declaration
public Task<MissingTarget> DeleteAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<MissingTarget>
Implements
IDocumentTarget<TCollection, TDocument, TMissing>.DeleteAsync(CancellationToken)
| Improve this Doc View Source

NewInstance(Uri, IDocument, ITargetActions<CollectionTarget, DocumentTarget, MissingTarget>)

Creates a new instance of the DocumentTarget class.

Declaration
[NotNull]
public static DocumentTarget NewInstance([NotNull] Uri destinationUrl, [NotNull] IDocument document, [NotNull] ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions)
Parameters
Type Name Description
Uri destinationUrl

The destination URL for this document

IDocument document

The underlying document

ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions

The target actions implementation to use

Returns
Type Description
DocumentTarget

The created document target object

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