System.Composition.Hosting.Core Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains classes that represent core functionality of the composition engine, including composition operations, contracts, part dependencies, export descriptions, and the lifetime context of a shared part that governs how it can be disposed.
Classes
CompositionContract |
Represents an agreement between parts that allows the composition engine to match imports with exports. |
CompositionDependency |
Represents a dependency that a part must have in order to fulfill an ExportDescriptorPromise. This class is used by the composition engine during initialization to determine whether the composition can be made, and if not, what error to provide. |
CompositionOperation |
Represents a single composition operation. |
DependencyAccessor |
Allows ExportDescriptorProvider objects to locate their dependencies. |
ExportDescriptor |
Describes an export of a part known to the composition engine. |
ExportDescriptorPromise |
Represents an export descriptor that an available part can provide. |
ExportDescriptorProvider |
Provides the description of an export for a part known to the composition engine. |
LifetimeContext |
Represents a node in the lifetime tree. |
Delegates
CompositeActivator |
The delegate that allows instances of parts and exports to be accessed during composition. |
Кері байланыс
https://aka.ms/ContentUserFeedback.
Жақында қолжетімді болады: 2024 жыл бойы біз GitHub Issues жүйесін мазмұнға арналған кері байланыс механизмі ретінде біртіндеп қолданыстан шығарамыз және оны жаңа кері байланыс жүйесімен ауыстырамыз. Қосымша ақпаратты мұнда қараңыз:Жіберу және пікірді көру