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. |
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기