Show / Hide Table of Contents

    Class SearchResult<T>

    The result of a file system search operation.

    Inheritance
    Object
    SearchResult<T>
    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 class SearchResult<T>
    
        where T : class, IUnixFileSystemEntry
    Type Parameters
    Name Description
    T

    The type of the found file system entry.

    Constructors

    | Improve this Doc View Source

    SearchResult(IUnixDirectoryEntry, Nullable<T>, Nullable<String>)

    Initializes a new instance of the SearchResult<T> class.

    Declaration
    public SearchResult(IUnixDirectoryEntry directoryEntry, T? fileEntry, string? fileName)
    Parameters
    Type Name Description
    IUnixDirectoryEntry directoryEntry

    The directory entry of the found fileEntry.

    Nullable<T> fileEntry

    The found IUnixFileSystemEntry.

    Nullable<String> fileName

    The name of the IUnixFileSystemEntry to be searched for within the directoryEntry.

    Properties

    | Improve this Doc View Source

    Directory

    Gets the IUnixDirectoryEntry where the FileName was searched.

    Declaration
    public IUnixDirectoryEntry Directory { get; }
    Property Value
    Type Description
    IUnixDirectoryEntry
    | Improve this Doc View Source

    Entry

    Gets the found IUnixFileSystemEntry.

    Declaration
    public T? Entry { get; }
    Property Value
    Type Description
    Nullable<T>
    Remarks
    null
    when the target entry could not be found.
    | Improve this Doc View Source

    FileName

    Gets the name of the Entry.

    Declaration
    public string? FileName { get; }
    Property Value
    Type Description
    Nullable<String>
    Remarks
    null
    when the found entry is a ROOT entry.
    • 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.