Class InMemoryDirectoryEntry
The im-memory directory entry.
Inherited Members
Namespace: FubarDev.FtpServer.FileSystem.InMemory
Assembly: FubarDev.FtpServer.FileSystem.InMemory.dll
Syntax
public class InMemoryDirectoryEntry : InMemoryFileSystemEntry, IUnixDirectoryEntry, IUnixFileSystemEntry, IUnixOwner
Constructors
| Improve this Doc View SourceInMemoryDirectoryEntry(Nullable<InMemoryDirectoryEntry>, String, IDictionary<String, IUnixFileSystemEntry>)
Initializes a new instance of the InMemoryDirectoryEntry class.
Declaration
public InMemoryDirectoryEntry(InMemoryDirectoryEntry? parent, string name, IDictionary<string, IUnixFileSystemEntry> children)
Parameters
| Type | Name | Description |
|---|---|---|
| Nullable<InMemoryDirectoryEntry> | parent | The parent entry. |
| String | name | The name of this entry. |
| IDictionary<String, IUnixFileSystemEntry> | children | The children of this directory entry. |
Properties
| Improve this Doc View SourceChildren
Gets the children of this directory entry.
Declaration
public IDictionary<string, IUnixFileSystemEntry> Children { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<String, IUnixFileSystemEntry> |
IsDeletable
Declaration
public bool IsDeletable { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsRoot
Declaration
public bool IsRoot { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |