Show / Hide Table of Contents

Class RemoteCollectionTarget

The remote server collection target

Inheritance
Object
RemoteCollectionTarget
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 RemoteCollectionTarget : ICollectionTarget<RemoteCollectionTarget, RemoteDocumentTarget, RemoteMissingTarget>, IExistingTarget, ITarget

Constructors

| Improve this Doc View Source

RemoteCollectionTarget(RemoteCollectionTarget, String, Uri, Boolean, IRemoteTargetActions)

Initializes a new instance of the RemoteCollectionTarget class.

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

The parent collection

String name

The name of the remote collection

Uri destinationUrl

The destination URL

Boolean created

Was the collection created by the RecursiveExecutionEngine<TCollection, TDocument, TMissing>

IRemoteTargetActions targetActions

The target actions implementation to use

Properties

| Improve this Doc View Source

Created

Declaration
public bool Created { get; }
Property Value
Type Description
Boolean
Implements
ICollectionTarget<TCollection, TDocument, TMissing>.Created
| 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

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
ICollectionTarget<TCollection, TDocument, TMissing>.DeleteAsync(CancellationToken)
| Improve this Doc View Source

GetAsync(String, CancellationToken)

Declaration
public Task<ITarget> GetAsync(string name, CancellationToken cancellationToken)
Parameters
Type Name Description
String name
CancellationToken cancellationToken
Returns
Type Description
Task<ITarget>
Implements
ICollectionTarget<TCollection, TDocument, TMissing>.GetAsync(String, CancellationToken)
| Improve this Doc View Source

NewMissing(String)

Declaration
public RemoteMissingTarget NewMissing(string name)
Parameters
Type Name Description
String name
Returns
Type Description
RemoteMissingTarget
Implements
ICollectionTarget<TCollection, TDocument, TMissing>.NewMissing(String)
| 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