SatisfyImportsOnce Method (ICompositionService, Object)
Collapse the table of content
Expand the table of content

AttributedModelServices.SatisfyImportsOnce Method (ICompositionService, Object)

 

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

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

static member SatisfyImportsOnce : 
        compositionService:ICompositionService *
        attributedPart:Object -> ComposablePart

Parameters

compositionService
Type: System.ComponentModel.Composition.ICompositionService

The composition service to use.

attributedPart
Type: System.Object

The part to compose.

Unlike ordinary composition, parts composed with this method are not guaranteed to remain valid if the catalog behindcompositionService changes.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show:
© 2016 Microsoft