Метод | Описание | |
---|---|---|
Create ( string name, VfsNodeType type, object settings ) : IVfsNode |
Creates a new file system entry of the given name and type. In theory every file system should support any VfsNodeType. Standard objects, such as directories and files are obvious. For other objects however, the file system is encouraged to store the passed settings in a specially marked file and treat these files as the appropriate node type. Instances of these objects can be retrieved using VfsObjectFactory.Create(settings). |
|
Delete ( IVfsNode child, |
Deletes the specified child.
|
|
Lookup ( string name ) : IVfsNode |
Requests the IVfsNode to perform a lookup on its children.
|
|
Open ( FileAccess access, FileShare sharing ) : object |
Opens the specified access.
|
Метод | Описание | |
---|---|---|
NodeBase ( IFileSystem fs, VfsNodeType type ) : System.IO |
Initializes a new instance of the NodeBase class.
|
public abstract Create ( string name, VfsNodeType type, object settings ) : IVfsNode | ||
name | string | The name of the file system entry to create. |
type | VfsNodeType | The type of the file system entry. See remarks. |
settings | object | Potential settings for the file systeme entry. |
Результат | IVfsNode |
public abstract Delete ( IVfsNode child, |
||
child | IVfsNode | The child. |
entry | The entry. | |
Результат | void |
public Lookup ( string name ) : IVfsNode | ||
name | string | The name of the item to find. |
Результат | IVfsNode |
protected NodeBase ( IFileSystem fs, VfsNodeType type ) : System.IO | ||
fs | IFileSystem | The fs. |
type | VfsNodeType | The type. |
Результат | System.IO |
public abstract Open ( FileAccess access, FileShare sharing ) : object | ||
access | FileAccess | The access. |
sharing | FileShare | The sharing. |
Результат | object |