Skip to content

Class ModulePackageDirectory

Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll

Describes a directory that should be scanned for Cephalon package manifests.

public sealed class ModulePackageDirectory

objectModulePackageDirectory

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

ModulePackageDirectory(string, string?, bool)

Section titled “ ModulePackageDirectory(string, string?, bool)”

Initializes a new instance of the class.

public ModulePackageDirectory(string path, string? manifestFileName = null, bool includeSubdirectories = true)

path string

The directory path to scan.

manifestFileName string?

The manifest file name to look for inside the directory.

includeSubdirectories bool

Whether nested directories should also be scanned.

Gets the default manifest file name expected inside package directories.

public const string DefaultManifestFileName = "cephalon.package.json"

string

Gets a value indicating whether nested directories should also be scanned.

public bool IncludeSubdirectories { get; }

bool

Gets the manifest file name to look for inside the directory.

public string ManifestFileName { get; }

string

Gets the directory path to scan.

public string Path { get; }

string