Class DotNetDirectoryEntry
A IUnixDirectoryEntry implementation for the standard .NET file system functionality.
Inherited Members
Namespace: FubarDev.FtpServer.FileSystem.DotNet
Assembly: FubarDev.FtpServer.FileSystem.DotNet.dll
Syntax
public class DotNetDirectoryEntry : DotNetFileSystemEntry, IUnixDirectoryEntry, IUnixFileSystemEntry, IUnixOwner
Constructors
| Improve this Doc View SourceDotNetDirectoryEntry(DirectoryInfo, Boolean, Boolean)
Initializes a new instance of the DotNetDirectoryEntry class.
Declaration
public DotNetDirectoryEntry(DirectoryInfo dirInfo, bool isRoot, bool allowDeleteIfNotEmpty)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | dirInfo | The DirectoryInfo to extract the information from. |
Boolean | isRoot | Defines whether this the root directory. |
Boolean | allowDeleteIfNotEmpty | Is deletion of this directory allowed if it's not empty. |
Properties
| Improve this Doc View SourceDirectoryInfo
Gets the directory information.
Declaration
public DirectoryInfo DirectoryInfo { get; }
Property Value
Type | Description |
---|---|
DirectoryInfo |
IsDeletable
Declaration
public bool IsDeletable { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsRoot
Declaration
public bool IsRoot { get; }
Property Value
Type | Description |
---|---|
Boolean |