Show / Hide Table of Contents

Class PathTraversalEngine

Helper class to find an entry for a given path

Inheritance
Object
PathTraversalEngine
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.FileSystem
Assembly:FubarDev.WebDavServer.dll
Syntax
public class PathTraversalEngine : IPathTraversalEngine

Constructors

| Improve this Doc View Source

PathTraversalEngine(ILogger<PathTraversalEngine>)

Initializes a new instance of the PathTraversalEngine class.

Declaration
public PathTraversalEngine(ILogger<PathTraversalEngine> logger = null)
Parameters
Type Name Description
Microsoft.Extensions.Logging.ILogger<PathTraversalEngine> logger

The logger

Methods

| Improve this Doc View Source

TraverseAsync(ICollection, String, CancellationToken)

Find the entry for a given path

Declaration
public Task<SelectionResult> TraverseAsync(ICollection currentCollection, 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

Implements
IPathTraversalEngine.TraverseAsync(ICollection, String, CancellationToken)
| Improve this Doc View Source

TraverseAsync(IFileSystem, String, CancellationToken)

Find the entry for a given path

Declaration
public Task<SelectionResult> TraverseAsync(IFileSystem fileSystem, 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

Implements
IPathTraversalEngine.TraverseAsync(IFileSystem, String, CancellationToken)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX