C# Class SharpOS.Kernel.Vfs.DirectoryNode

Represents a basic directory in the VFS namespace.
This class can be inherited if necessary to provide specialized directory handling if required.
Inheritance: NodeBase
Afficher le fichier Open project: sharpos/SharpOS Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string name, VfsNodeType nodeType, object settings ) : IVfsNode
Delete ( IVfsNode child, SharpOS.Kernel.Vfs.DirectoryEntry dentry ) : void
DirectoryNode ( IFileSystem fs ) : System

Initializes a new instance of the DirectoryNode object.

Lookup ( string name ) : IVfsNode
Open ( FileAccess access, FileShare sharing ) : object

Method Details

Create() public méthode

public Create ( string name, VfsNodeType nodeType, object settings ) : IVfsNode
name string
nodeType VfsNodeType
settings object
Résultat IVfsNode

Delete() public méthode

public Delete ( IVfsNode child, SharpOS.Kernel.Vfs.DirectoryEntry dentry ) : void
child IVfsNode
dentry SharpOS.Kernel.Vfs.DirectoryEntry
Résultat void

DirectoryNode() public méthode

Initializes a new instance of the DirectoryNode object.
public DirectoryNode ( IFileSystem fs ) : System
fs IFileSystem The filesystem, which owns the node.
Résultat System

Lookup() public méthode

public Lookup ( string name ) : IVfsNode
name string
Résultat IVfsNode

Open() public méthode

public Open ( FileAccess access, FileShare sharing ) : object
access FileAccess
sharing FileShare
Résultat object