DirectoryNode.GetUnaliasedNode Method
Namespace: Rebex.IO.FileSystem
Assembly: Rebex.FileSystem.dll (version 7.0.9119)
GetUnaliasedNode()
Gets the node with real path (relative to FileSystemProvider) in the file system. Both MountCapableFileSystemProvider and FileSystemProvider returned from the method CreateFileSystem() create virtual nodes with virtual (alias) paths. Virtual node "wraps" real node. Use method GetUnaliasedNode to "unwrap" real nodes from virtual nodes.
Calling method GetUnaliasedNode on the already unwrapped node has no effect - method returns this (already unwrapped) instance.
Method GetUnaliasedNode is typically used in the FileSystemNotifier event handlers. Usually you don't need to call this method directly, because virtual (alias) and real nodes in the typical development scenario works as expected.
Inherited from NodeBase.Declaration
public NodeBase GetUnaliasedNode()
Returns
Type | Description |
---|---|
NodeBase | The unwrapped node with real path in the file system. |