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

Class PackageManifest

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

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

Describes a package that contributed one or more modules to the built runtime.

public sealed class PackageManifest

objectPackageManifest

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

PackageManifest(string, string, string, string, string, string, IReadOnlyList<string>, string?, string?, string?, IReadOnlyList<string>?, string?, string?, string?, PackageDistributionManifest?, PackageProvenanceManifest?, string?, string?, string?, string?, string?, string?, IReadOnlyList<PackageSignatureManifest>?, bool, string, string, bool, string)

Section titled “ PackageManifest(string, string, string, string, string, string, IReadOnlyList<string>, string?, string?, string?, IReadOnlyList<string>?, string?, string?, string?, PackageDistributionManifest?, PackageProvenanceManifest?, string?, string?, string?, string?, string?, string?, IReadOnlyList<PackageSignatureManifest>?, bool, string, string, bool, string)”

Creates a new package manifest entry.

public PackageManifest(string id, string kind, string assemblyName, string path, string sourcePath, string loadContext, IReadOnlyList<string> modules, string? version, string? minimumEngineVersion, string? maximumEngineVersion, IReadOnlyList<string>? supportedTargetFrameworks, string? publisherId, string? publisherDisplayName, string? publisherWebsite, PackageDistributionManifest? distribution, PackageProvenanceManifest? provenance, string? signatureType, string? signatureSigner, string? signatureKeyId, string? signatureFingerprint, string? signatureCertificateThumbprint, string? signatureAlgorithm, IReadOnlyList<PackageSignatureManifest>? signatures, bool isSignatureVerified, string signatureVerificationReason, string checksumSha256, bool isTrusted, string trustReason)

id string

The stable package identifier.

kind string

The discovery kind used to resolve the package.

assemblyName string

The loaded package assembly name.

path string

The resolved assembly path that was loaded.

sourcePath string

The original source path that led to the package load.

loadContext string

The assembly load context name used for the package.

modules IReadOnlyList<string>

The identifiers of modules contributed by the package.

version string?

The package version declared by the package manifest, when available.

minimumEngineVersion string?

The minimum supported engine version declared by the package manifest, when available.

maximumEngineVersion string?

The maximum supported engine version declared by the package manifest, when available.

supportedTargetFrameworks IReadOnlyList<string>?

The supported target frameworks declared by the package manifest.

publisherId string?

The stable publisher identifier declared by the package manifest, when available.

publisherDisplayName string?

The publisher display name declared by the package manifest, when available.

publisherWebsite string?

The publisher website declared by the package manifest, when available.

distribution PackageDistributionManifest?

The external distribution metadata declared by the package manifest, when available.

provenance PackageProvenanceManifest?

The provenance metadata declared by the package manifest, when available.

signatureType string?

The signature metadata type declared by the package manifest, when available.

signatureSigner string?

The signer identity declared by the package manifest, when available.

signatureKeyId string?

The trusted-key identifier declared by the package manifest, when available.

signatureFingerprint string?

The signer fingerprint declared by the package manifest, when available.

signatureCertificateThumbprint string?

The primary signing certificate thumbprint used during verification, when certificate-backed trust was used.

signatureAlgorithm string?

The signature algorithm declared by the package manifest, when available.

signatures IReadOnlyList<PackageSignatureManifest>?

The declared package signatures and their individual verification outcomes.

isSignatureVerified bool

Whether the package signature was cryptographically verified against a trusted public key or signing certificate.

signatureVerificationReason string

The verification outcome summary for the package signature.

checksumSha256 string

The computed SHA-256 checksum of the resolved package assembly.

isTrusted bool

Whether the package is trusted by the current trust policy.

trustReason string

The reason the package is trusted or not trusted.

Gets the assembly name that was loaded for the package.

public string AssemblyName { get; }

string

Gets the computed SHA-256 checksum of the resolved package assembly.

public string ChecksumSha256 { get; }

string

Gets the package-to-package dependencies declared by the package manifest.

public IReadOnlyList<PackageDependencyManifest> Dependencies { get; init; }

IReadOnlyList<PackageDependencyManifest>

Gets the external distribution metadata declared by the package manifest, when available.

public PackageDistributionManifest? Distribution { get; }

PackageDistributionManifest?

Gets the stable package identifier.

public string Id { get; }

string

Gets a value indicating whether the package signature was cryptographically verified against a trusted signing identity.

public bool IsSignatureVerified { get; }

bool

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

public bool IsTrusted { get; }

bool

Gets the package discovery kind, such as assembly path or manifest-file loading.

public string Kind { get; }

string

Gets the assembly load context name used for the package.

public string LoadContext { get; }

string

Gets the maximum engine version supported by the package manifest, when available.

public string? MaximumEngineVersion { get; }

string?

Gets the minimum engine version required by the package manifest, when available.

public string? MinimumEngineVersion { get; }

string?

Gets the identifiers of modules contributed by the package.

public IReadOnlyList<string> Modules { get; }

IReadOnlyList<string>

Gets the resolved assembly path that the engine loaded.

public string Path { get; }

string

Gets the provenance metadata declared by the package manifest, when available.

public PackageProvenanceManifest? Provenance { get; }

PackageProvenanceManifest?

Gets the publisher display name declared by the package manifest, when available.

public string? PublisherDisplayName { get; }

string?

Gets the stable publisher identifier declared by the package manifest, when available.

public string? PublisherId { get; }

string?

Gets the publisher website declared by the package manifest, when available.

public string? PublisherWebsite { get; }

string?

Gets the signature algorithm declared by the package manifest, when available.

public string? SignatureAlgorithm { get; }

string?

Gets the primary signing certificate thumbprint used during verification, when certificate-backed trust was used.

public string? SignatureCertificateThumbprint { get; }

string?

Gets the signer fingerprint declared by the package manifest, when available.

public string? SignatureFingerprint { get; }

string?

Gets the trusted-key identifier declared by the package manifest, when available.

public string? SignatureKeyId { get; }

string?

Gets the signer identity declared by the package manifest, when available.

public string? SignatureSigner { get; }

string?

Gets the signature metadata type declared by the package manifest, when available.

public string? SignatureType { get; }

string?

Gets the verification outcome summary for the package signature.

public string SignatureVerificationReason { get; }

string

Gets the declared package signatures and their individual verification outcomes.

public IReadOnlyList<PackageSignatureManifest> Signatures { get; }

IReadOnlyList<PackageSignatureManifest>

Gets the original source path used to discover the package.

public string SourcePath { get; }

string

Gets the target frameworks declared as compatible by the package manifest.

public IReadOnlyList<string> SupportedTargetFrameworks { get; }

IReadOnlyList<string>

Gets the reason the package is trusted or not trusted by the current trust policy.

public string TrustReason { get; }

string

Gets the package version declared by the package manifest, when available.

public string? Version { get; }

string?