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

Represents drive identity information. More...

Public Member Functions

 DriveEntryInfo (string pathToEntry, string name)
 Initializes a new DriveEntryInfo from explicit path and name values.
 DriveEntryInfo (DriveInfo driveInfo)
 Initializes a new DriveEntryInfo from a DriveInfo instance.

Properties

string PathToEntry [get]
 Gets the path identifying the drive.
string Name [get]
 Gets the display name of the drive.

Detailed Description

Represents drive identity information.

Constructor & Destructor Documentation

◆ DriveEntryInfo() [1/2]

FileSurfer.Core.Models.DriveEntryInfo.DriveEntryInfo ( string pathToEntry,
string name )
inline

Initializes a new DriveEntryInfo from explicit path and name values.

Parameters
pathToEntryDrive path.
nameDrive display name.

◆ DriveEntryInfo() [2/2]

FileSurfer.Core.Models.DriveEntryInfo.DriveEntryInfo ( DriveInfo driveInfo)
inline

Initializes a new DriveEntryInfo from a DriveInfo instance.

Parameters
driveInfoSource drive information.

Property Documentation

◆ Name

string FileSurfer.Core.Models.DriveEntryInfo.Name
get

Gets the display name of the drive.

◆ PathToEntry

string FileSurfer.Core.Models.DriveEntryInfo.PathToEntry
get

Gets the path identifying the drive.


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