Show / Hide Table of Contents

    Class PathSelector

    Selects a path in a file system.

    Inheritance
    Object
    PathSelector
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.FileSystem
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public static class PathSelector

    Methods

    | Improve this Doc View Source

    SelectAsync(IUnixFileSystem, IEnumerable<IUnixDirectoryEntry>, Nullable<String>, CancellationToken)

    Tries to select the given path.

    Declaration
    public static Task<PathSelectionResult> SelectAsync(this IUnixFileSystem fileSystem, IEnumerable<IUnixDirectoryEntry> pathEntries, string? path, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IUnixFileSystem fileSystem

    The file system.

    IEnumerable<IUnixDirectoryEntry> pathEntries

    The current path (entries).

    Nullable<String> path

    The path to select.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<PathSelectionResult>

    The result of the selection.

    | Improve this Doc View Source

    SelectAsync(IUnixFileSystem, Nullable<String>, CancellationToken)

    Tries to select the given path.

    Declaration
    public static Task<PathSelectionResult> SelectAsync(this IUnixFileSystem fileSystem, string? path, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IUnixFileSystem fileSystem

    The file system.

    Nullable<String> path

    The path to select.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<PathSelectionResult>

    The result of the selection.

    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.