CompositionConstants Class

 

Contains static metadata keys used by the composition system.

Namespace:   System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

System.Object
  System.ComponentModel.Composition.Hosting.CompositionConstants

public static class CompositionConstants

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticExportTypeIdentityMetadataName

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

System_CAPS_pubfieldSystem_CAPS_staticGenericContractMetadataName

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

System_CAPS_pubfieldSystem_CAPS_staticGenericParametersMetadataName

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

System_CAPS_pubfieldSystem_CAPS_staticImportSourceMetadataName

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

System_CAPS_pubfieldSystem_CAPS_staticIsGenericPartMetadataName

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

System_CAPS_pubfieldSystem_CAPS_staticPartCreationPolicyMetadataName

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

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.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: