ICompositionService Interface

Definition

Provides methods to satisfy imports on an existing part instance.

C#
public interface ICompositionService
Derived

Methods

SatisfyImportsOnce(ComposablePart)

Composes the specified part, with recomposition and validation disabled.

Extension Methods

SatisfyImportsOnce(ICompositionService, Object, ReflectionContext)

Composes the specified part by using the specified composition service, with recomposition disabled and using the specified reflection context.

SatisfyImportsOnce(ICompositionService, Object)

Composes the specified part by using the specified composition service, with recomposition disabled.

Applies to

Product Versions
.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)