ข้ามไปยังเนื้อหา

Class ModuleManifest

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Engine.Manifest
Assembly: Cephalon.Engine.dll

Describes a single module that participates in the built runtime.

public sealed class ModuleManifest

objectModuleManifest

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

ModuleManifest(string, string, string, string, string, string, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyDictionary<string, string>?, string?, bool)

Section titled “ ModuleManifest(string, string, string, string, string, string, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyDictionary<string, string>?, string?, bool)”

Creates a new module manifest entry.

public ModuleManifest(string id, string displayName, string description, string version, string assemblyName, string typeName, IReadOnlyList<string> dependsOn, IReadOnlyList<string> tags, IReadOnlyDictionary<string, string>? metadata = null, string? packageId = null, bool isTrusted = true)

id string

The stable module identifier.

displayName string

The operator-facing module name.

description string

A human-readable description of the module’s role.

version string

The effective module version.

assemblyName string

The assembly that contains the module implementation.

typeName string

The fully qualified CLR type name for the module implementation.

dependsOn IReadOnlyList<string>

The identifiers of modules this module depends on.

tags IReadOnlyList<string>

The descriptive tags published by the module descriptor.

metadata IReadOnlyDictionary<string, string>?

Additional descriptor metadata published by the module.

packageId string?

The package identifier that supplied the module, if it was package-loaded.

isTrusted bool

Whether the module is currently considered trusted under the active trust policy.

Gets the assembly name that contains the module implementation.

public string AssemblyName { get; }

string

Gets the identifiers of modules this module depends on.

public IReadOnlyList<string> DependsOn { get; }

IReadOnlyList<string>

Gets the human-readable description of the module.

public string Description { get; }

string

Gets the operator-facing display name for the module.

public string DisplayName { get; }

string

Gets the stable module identifier.

public string Id { get; }

string

Gets a value indicating whether the module is trusted by the current trust policy.

public bool IsTrusted { get; }

bool

Gets arbitrary descriptor metadata published by the module.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the supplying package identifier when the module came from a package load.

public string? PackageId { get; }

string?

Gets the descriptor tags published by the module.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>

Gets the CLR type name that implements the module.

public string TypeName { get; }

string

Gets the effective version reported for the module.

public string Version { get; }

string