Auf Englisch lesen Bearbeiten

Freigeben über


CompositionConstants Class

Definition

Contains static metadata keys used by the composition system.

C#
public static class CompositionConstants
Inheritance
CompositionConstants

Remarks

Do not create metadata by using any of the keys in this class, except to deliberately interact with the composition system. Other uses will cause unpredictable behavior.

Fields

ExportTypeIdentityMetadataName

Specifies the metadata key created by the composition system to mark a part with a unique identifier.

GenericContractMetadataName

Specifies the metadata key created by the composition system to mark a generic contract.

GenericParametersMetadataName

Specifies the metadata key created by the composition system to mark generic parameters.

ImportSourceMetadataName

Specifies the metadata key created by the composition system to mark an import source.

IsGenericPartMetadataName

Specifies the metadata key created by the composition system to mark an IsGenericPart method.

PartCreationPolicyMetadataName

Specifies the metadata key created by the composition system to mark a part with a creation policy.

Applies to

Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)