Gorgon
Show / Hide Table of Contents

Class GorgonPhysicalFileSystemData

A listing of directories and files present in the physical file system.

Inheritance
object
GorgonPhysicalFileSystemData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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 Source

GorgonPhysicalFileSystemData(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 Source

Directories

Property to return the available directories from the physical file system

Declaration
public IReadOnlyList<string> Directories { get; }
Property Value
Type Description
IReadOnlyList<string>
| Edit this page View Source

Files

Property to return the available files from the physical file system.

Declaration
public IReadOnlyList<IGorgonPhysicalFileInfo> Files { get; }
Property Value
Type Description
IReadOnlyList<IGorgonPhysicalFileInfo>

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author