Class GorgonPhysicalFileSystemData
A listing of directories and files present in the physical file system.
Inherited Members
Namespace: Gorgon.IO.Providers
Assembly: Gorgon.FileSystem.dll
Syntax
public sealed class GorgonPhysicalFileSystemData
Remarks
Implementors of the GorgonFileSystemProvider plug in will return this type when enumerating directories and files from the physical file system. Gorgon will use this information to populate the IGorgonFileSystem object with IGorgonVirtualDirectory and IGorgonVirtualFile entries.
Constructors
| Edit this page View SourceGorgonPhysicalFileSystemData(IReadOnlyList<string>, IReadOnlyList<IGorgonPhysicalFileInfo>)
Initializes a new instance of the GorgonPhysicalFileSystemData class.
Declaration
public GorgonPhysicalFileSystemData(IReadOnlyList<string> directories, IReadOnlyList<IGorgonPhysicalFileInfo> files)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyList<string> | directories | The directories. |
IReadOnlyList<IGorgonPhysicalFileInfo> | files | The files. |
Properties
| Edit this page View SourceDirectories
Property to return the available directories from the physical file system
Declaration
public IReadOnlyList<string> Directories { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<string> |
Files
Property to return the available files from the physical file system.
Declaration
public IReadOnlyList<IGorgonPhysicalFileInfo> Files { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<IGorgonPhysicalFileInfo> |