Class ModulePackageDirectory
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll
Describes a directory that should be scanned for Cephalon package manifests.
public sealed class ModulePackageDirectoryInheritance
Section titled “Inheritance”object ← ModulePackageDirectory
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”ModulePackageDirectory(string, string?, bool)
Section titled “ ModulePackageDirectory(string, string?, bool)”Initializes a new instance of the
public ModulePackageDirectory(string path, string? manifestFileName = null, bool includeSubdirectories = true)Parameters
Section titled “Parameters”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.
Fields
Section titled “Fields”DefaultManifestFileName
Section titled “ DefaultManifestFileName”Gets the default manifest file name expected inside package directories.
public const string DefaultManifestFileName = "cephalon.package.json"Field Value
Section titled “Field Value”Properties
Section titled “Properties”IncludeSubdirectories
Section titled “ IncludeSubdirectories”Gets a value indicating whether nested directories should also be scanned.
public bool IncludeSubdirectories { get; }Property Value
Section titled “Property Value”ManifestFileName
Section titled “ ManifestFileName”Gets the manifest file name to look for inside the directory.
public string ManifestFileName { get; }Property Value
Section titled “Property Value”Gets the directory path to scan.
public string Path { get; }