Show / Hide Table of Contents

Interface IPathTraversalEngine

Interface for an implementation to find an entry for a given path

Namespace:FubarDev.WebDavServer.FileSystem
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IPathTraversalEngine

Methods

| Improve this Doc View Source

TraverseAsync(ICollection, String, CancellationToken)

Find the entry for a given path

Declaration
[NotNull]
[ItemNotNull]
Task<SelectionResult> TraverseAsync([NotNull] ICollection currentCollection, [CanBeNull] string path, CancellationToken ct)
Parameters
Type Name Description
ICollection currentCollection

The root collection

String path

The path to traverse

CancellationToken ct

The cancellation token

Returns
Type Description
Task<SelectionResult>

The result for the path search

| Improve this Doc View Source

TraverseAsync(IFileSystem, String, CancellationToken)

Find the entry for a given path

Declaration
[NotNull]
[ItemNotNull]
Task<SelectionResult> TraverseAsync([NotNull] IFileSystem fileSystem, [CanBeNull] string path, CancellationToken ct)
Parameters
Type Name Description
IFileSystem fileSystem

The root file system

String path

The path to traverse

CancellationToken ct

The cancellation token

Returns
Type Description
Task<SelectionResult>

The result for the path search

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