Class DirectoryInfoBase
- Namespace
- Acuit.Pinpoint.FileSystemGlobbing.Abstractions
- Assembly
- Acuit.Pinpoint.Configuration.dll
Represents a directory
public abstract class DirectoryInfoBase : FileSystemInfoBase
- Inheritance
-
DirectoryInfoBase
- Derived
- Inherited Members
Methods
EnumerateFileSystemInfos()
Enumerates all files and directories in the directory.
public abstract IEnumerable<FileSystemInfoBase> EnumerateFileSystemInfos()
Returns
- IEnumerable<FileSystemInfoBase>
Collection of files and directories
GetDirectory(string)
Returns an instance of DirectoryInfoBase that represents a subdirectory
public abstract DirectoryInfoBase GetDirectory(string path)
Parameters
path
stringThe directory name
Returns
- DirectoryInfoBase
Instance of DirectoryInfoBase even if directory does not exist
GetFile(string)
Returns an instance of FileInfoBase that represents a file in the directory
public abstract FileInfoBase GetFile(string path)
Parameters
path
stringThe file name
Returns
- FileInfoBase
Instance of FileInfoBase even if file does not exist