// ----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ----------------------------------------------------------------------- using System; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; namespace System.ComponentModel.Composition { /// /// Provides methods for composing objects. /// public interface ICompositionService { /// /// Sets the imports of the specified composable part exactly once and they will not /// ever be recomposed. /// /// /// The to set the imports. /// /// /// is . /// /// /// An error occurred during composition. will /// contain a collection of errors that occurred. /// /// /// The has been disposed of. /// void SatisfyImportsOnce(ComposablePart part); } }