FileSurfer 1.1.4
Modern Windows File Explorer
Loading...
Searching...
No Matches
FileSurfer.Models.DirectoryEntry Class Referencesealed

Lazy implementation of IFileSystemEntry for a directory. More...

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

Public Member Functions

 DirectoryEntry (string dirPath)

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.
string Extension [get]
 Holds the extension of this file's name.
string NameWOExtension [get]
 Holds this entry's name without the extension.

Private Attributes

string? _name

Detailed Description

Lazy implementation of IFileSystemEntry for a directory.

Constructor & Destructor Documentation

◆ DirectoryEntry()

FileSurfer.Models.DirectoryEntry.DirectoryEntry ( string dirPath)

Member Data Documentation

◆ _name

string? FileSurfer.Models.DirectoryEntry._name
private

Property Documentation

◆ Extension

string FileSurfer.Models.DirectoryEntry.Extension
get

Holds the extension of this file's name.

Implements FileSurfer.Models.IFileSystemEntry.

◆ Name

string FileSurfer.Models.DirectoryEntry.Name
get

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

Implements FileSurfer.Models.IFileSystemEntry.

◆ NameWOExtension

string FileSurfer.Models.DirectoryEntry.NameWOExtension
get

Holds this entry's name without the extension.

Implements FileSurfer.Models.IFileSystemEntry.

◆ PathToEntry

string FileSurfer.Models.DirectoryEntry.PathToEntry
get

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

Implements FileSurfer.Models.IFileSystemEntry.


The documentation for this class was generated from the following file: