Class SearchResult<T>
The result of a file system search operation.
Inherited Members
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 SourceSearchResult(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 |
---|---|---|
IUnix |
directoryEntry | The directory entry of the found |
Nullable<T> | fileEntry | The found IUnix |
Nullable<String> | fileName | The name of the IUnix |
Properties
| Improve this Doc View SourceDirectory
Gets the IUnix
Declaration
public IUnixDirectoryEntry Directory { get; }
Property Value
Type | Description |
---|---|
IUnix |
Entry
Gets the found IUnix
Declaration
public T? Entry { get; }
Property Value
Type | Description |
---|---|
Nullable<T> |
Remarks
null
when the target entry could not be found.
FileName
Gets the name of the Entry.
Declaration
public string? FileName { get; }
Property Value
Remarks
null
when the found entry is a ROOT entry.