Show / Hide Table of Contents

Class RecursiveExecutionEngine<TCollection, TDocument, TMissing>

The engine that operates recursively on its targets

Inheritance
Object
RecursiveExecutionEngine<TCollection, TDocument, TMissing>
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
Assembly:FubarDev.WebDavServer.dll
Syntax
public class RecursiveExecutionEngine<TCollection, TDocument, TMissing>
    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

Constructors

| Improve this Doc View Source

RecursiveExecutionEngine(ITargetActions<TCollection, TDocument, TMissing>, Boolean, ILogger)

Initializes a new instance of the RecursiveExecutionEngine<TCollection, TDocument, TMissing> class.

Declaration
public RecursiveExecutionEngine(ITargetActions<TCollection, TDocument, TMissing> handler, bool allowOverwrite, ILogger logger)
Parameters
Type Name Description
ITargetActions<TCollection, TDocument, TMissing> handler

The handler that performs the operation on the targets

Boolean allowOverwrite

Is overwriting the destination allowed?

Microsoft.Extensions.Logging.ILogger logger

The logger

Methods

| Improve this Doc View Source

ExecuteAsync(Uri, ICollection, DepthHeader, TCollection, CancellationToken)

Operates on a collection and the given target collection

Declaration
public Task<CollectionActionResult> ExecuteAsync(Uri sourceUrl, ICollection source, DepthHeader depth, TCollection target, CancellationToken cancellationToken)
Parameters
Type Name Description
Uri sourceUrl

The root-relative source URL

ICollection source

The source collection

DepthHeader depth

The recursion depth

TCollection target

The target collection

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<CollectionActionResult>

The result information of the current operation

| Improve this Doc View Source

ExecuteAsync(Uri, ICollection, DepthHeader, TMissing, CancellationToken)

Operates on a collection and the given missing target

Declaration
public Task<CollectionActionResult> ExecuteAsync(Uri sourceUrl, ICollection source, DepthHeader depth, TMissing target, CancellationToken cancellationToken)
Parameters
Type Name Description
Uri sourceUrl

The root-relative source URL

ICollection source

The source collection

DepthHeader depth

The recursion depth

TMissing target

The target of the operation

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<CollectionActionResult>

The result information of the current operation

| Improve this Doc View Source

ExecuteAsync(Uri, IDocument, TDocument, CancellationToken)

Operates on a documentation and the given document target

Declaration
public Task<ActionResult> ExecuteAsync(Uri sourceUrl, IDocument source, TDocument target, CancellationToken cancellationToken)
Parameters
Type Name Description
Uri sourceUrl

The root-relative source URL

IDocument source

The source documentation

TDocument target

The target document of the operation

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<ActionResult>

The result information of the current operation

| Improve this Doc View Source

ExecuteAsync(Uri, IDocument, TMissing, CancellationToken)

Operates on a documentation and the given missing target

Declaration
public Task<ActionResult> ExecuteAsync(Uri sourceUrl, IDocument source, TMissing target, CancellationToken cancellationToken)
Parameters
Type Name Description
Uri sourceUrl

The root-relative source URL

IDocument source

The source documentation

TMissing target

The target of the operation

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<ActionResult>

The result information of the current operation

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