FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
Loading...
Searching...
No Matches
FileSurfer.Core.Models.DirectoryEntry Class Reference

Implementation of IFileSystemEntry for a directory. More...

Inheritance diagram for FileSurfer.Core.Models.DirectoryEntry:
Collaboration diagram for FileSurfer.Core.Models.DirectoryEntry:

Public Member Functions

 DirectoryEntry (string dirPath, IPathTools pathTools)
 Initializes a new DirectoryEntry from a path using path-tool name parsing.

Protected Member Functions

 DirectoryEntry (string dirPath, string name)
 Initializes a new DirectoryEntry from precomputed path and name values.

Properties

string PathToEntry [get]
 Path to the file, directory, or drive represented by this IFileSystemEntry.
string Name [get]
 Holds the name of file, directory, or drive represented by this IFileSystemEntry.

Detailed Description

Implementation of IFileSystemEntry for a directory.

Constructor & Destructor Documentation

◆ DirectoryEntry() [1/2]

FileSurfer.Core.Models.DirectoryEntry.DirectoryEntry ( string dirPath,
IPathTools pathTools )
inline

Initializes a new DirectoryEntry from a path using path-tool name parsing.

Parameters
dirPathFull path to the directory.
pathToolsPath utilities used to derive directory name.
Here is the call graph for this function:

◆ DirectoryEntry() [2/2]

FileSurfer.Core.Models.DirectoryEntry.DirectoryEntry ( string dirPath,
string name )
inlineprotected

Initializes a new DirectoryEntry from precomputed path and name values.

Parameters
dirPathFull path to the directory.
nameDirectory name.

Property Documentation

◆ Name

string FileSurfer.Core.Models.DirectoryEntry.Name
get

Holds the name of file, directory, or drive represented by this IFileSystemEntry.

Implements FileSurfer.Core.Models.IFileSystemEntry.

◆ PathToEntry

string FileSurfer.Core.Models.DirectoryEntry.PathToEntry
get

Path to the file, directory, or drive represented by this IFileSystemEntry.

Implements FileSurfer.Core.Models.IFileSystemEntry.


The documentation for this class was generated from the following file:
  • /home/janecea/Documents/CODE/PROJECTS/FileSurfer/src/FileSurfer.Core/Models/IFileSystemEntry.cs