Show / Hide Table of Contents

Class RemoteDocumentTarget

The remote server document target

Inheritance
Object
RemoteDocumentTarget
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Engines.Remote
Assembly:FubarDev.WebDavServer.dll
Syntax
public class RemoteDocumentTarget : IDocumentTarget<RemoteCollectionTarget, RemoteDocumentTarget, RemoteMissingTarget>, IExistingTarget, ITarget

Constructors

| Improve this Doc View Source

RemoteDocumentTarget(RemoteCollectionTarget, String, Uri, IRemoteTargetActions)

Initializes a new instance of the RemoteDocumentTarget class.

Declaration
public RemoteDocumentTarget([NotNull] RemoteCollectionTarget parent, [NotNull] string name, [NotNull] Uri destinationUrl, [NotNull] IRemoteTargetActions targetActions)
Parameters
Type Name Description
RemoteCollectionTarget parent

The parent collection

String name

The name of the remote document

Uri destinationUrl

The destination URL

IRemoteTargetActions targetActions

The target actions implementation to use

Properties

| Improve this Doc View Source

DestinationUrl

Gets the destination URL of the target

Declaration
public Uri DestinationUrl { get; }
Property Value
Type Description
Uri
Implements
ITarget.DestinationUrl
| Improve this Doc View Source

Name

Gets the name of the target

Declaration
public string Name { get; }
Property Value
Type Description
String
Implements
ITarget.Name
| Improve this Doc View Source

Parent

Gets the parent remote collection

Declaration
[NotNull]
public RemoteCollectionTarget Parent { get; }
Property Value
Type Description
RemoteCollectionTarget

Methods

| Improve this Doc View Source

DeleteAsync(CancellationToken)

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

SetPropertiesAsync(IEnumerable<IUntypedWriteableProperty>, CancellationToken)

Sets the properties of an existing target

Declaration
public Task<IReadOnlyCollection<XName>> SetPropertiesAsync(IEnumerable<IUntypedWriteableProperty> properties, CancellationToken cancellationToken)
Parameters
Type Name Description
IEnumerable<IUntypedWriteableProperty> properties

The source properties

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<IReadOnlyCollection<XName>>

The list of property names that couldn't be set

Implements
IExistingTarget.SetPropertiesAsync(IEnumerable<IUntypedWriteableProperty>, CancellationToken)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX