3 instantiations of CompositionContainer
Microsoft.CodeAnalysis.Workspaces.Desktop (1)
Workspace\Host\Mef\MefV1HostServices.cs (1)
66
var container = new
CompositionContainer
(catalog, compositionOptions: CompositionOptions.DisableSilentRejection | CompositionOptions.IsThreadSafe);
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
75
return new
CompositionContainer
(childCatalog, _catalogExportProvider._compositionOptions, _catalogExportProvider._sourceProvider!);
System\ComponentModel\Composition\Hosting\CompositionService.cs (1)
33
var compositionContainer = new
CompositionContainer
(composablePartCatalog, compositionOptions);
77 references to CompositionContainer
Microsoft.CodeAnalysis.Workspaces.Desktop (1)
Workspace\Host\Mef\MefV1HostServices.cs (1)
66
var
container = new CompositionContainer(catalog, compositionOptions: CompositionOptions.DisableSilentRejection | CompositionOptions.IsThreadSafe);
System.ComponentModel.Composition (76)
System\ComponentModel\Composition\AttributedModelServices.cs (3)
105
public static void ComposeExportedValue<T>(this
CompositionContainer
container, T exportedValue)
126
public static void ComposeExportedValue<T>(this
CompositionContainer
container, string contractName, T exportedValue)
148
public static void ComposeParts(this
CompositionContainer
container, params object[] attributedParts)
System\ComponentModel\Composition\CreationPolicy.cs (5)
7
/// Option placed on a type that controls when the <see cref="Hosting.
CompositionContainer
"/> creates
13
/// Let the <see cref="Hosting.
CompositionContainer
"/> choose the most appropriate <see cref="CreationPolicy"/>
15
/// the <see cref="Hosting.
CompositionContainer
"/> choosing <see cref="CreationPolicy.Shared"/> by default
22
/// by the <see cref="Hosting.
CompositionContainer
"/> and shared by all requestors.
28
/// by the <see cref="Hosting.
CompositionContainer
"/> for every requestor.
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (1)
109
/// The <see cref="
CompositionContainer
"/> has been disposed of.
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeFactoryExport.cs (3)
32
private
CompositionContainer
? _childContainer;
53
CompositionContainer
? childContainer = _scopeFactoryExport._scopeManager.CreateChildContainer(_scopeFactoryExport._catalog);
77
CompositionContainer
? childContainer = null;
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (2)
46
using (
var
container = CreateChildContainer(childCatalog))
73
internal
CompositionContainer
CreateChildContainer(ComposablePartCatalog childCatalog)
System\ComponentModel\Composition\Hosting\CompositionContainer.CompositionServiceShim.cs (2)
12
private readonly
CompositionContainer
_innerContainer;
14
public CompositionServiceShim(
CompositionContainer
innerContainer)
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (23)
33
/// Initializes a new instance of the <see cref="
CompositionContainer
"/> class.
41
/// Initializes a new instance of the <see cref="
CompositionContainer
"/> class
46
/// the <see cref="
CompositionContainer
"/> access to <see cref="Export"/> objects,
59
/// Initializes a new instance of the <see cref="
CompositionContainer
"/> class
67
/// the <see cref="
CompositionContainer
"/> access to <see cref="Export"/> objects,
80
/// Initializes a new instance of the <see cref="
CompositionContainer
"/> class
83
/// <param name="catalog">A catalog that provides <see cref="Export"/> objects to the <see cref="
CompositionContainer
"/>.</param>
86
/// the <see cref="
CompositionContainer
"/> access to <see cref="Export"/> objects,
99
/// Initializes a new instance of the <see cref="
CompositionContainer
"/> class
102
/// <param name="catalog">A catalog that provides <see cref="Export"/> objects to the <see cref="
CompositionContainer
"/>.</param>
108
/// the <see cref="
CompositionContainer
"/> access to <see cref="Export"/> objects,
121
/// Initializes a new instance of the <see cref="
CompositionContainer
"/> class
124
/// <param name="catalog">A catalog that provides <see cref="Export"/> objects to the <see cref="
CompositionContainer
"/>.</param>
130
/// the <see cref="
CompositionContainer
"/> access to <see cref="Export"/> objects,
244
/// <see cref="
CompositionContainer
"/> access to exports produced from
248
/// The <see cref="
CompositionContainer
"/> has been disposed of.
275
/// which provide the <see cref="
CompositionContainer
"/> access to additional
280
/// The <see cref="
CompositionContainer
"/> has been disposed of.
377
/// Releases the <see cref="Export"/> from the <see cref="
CompositionContainer
"/>. The behavior
406
/// Releases the <see cref="Lazy{T}"/> from the <see cref="
CompositionContainer
"/>. The behavior
435
/// Releases a set of <see cref="Export"/>s from the <see cref="
CompositionContainer
"/>.
456
/// Releases a set of <see cref="Export"/>s from the <see cref="
CompositionContainer
"/>.
477
/// Releases a set of <see cref="Export"/>s from the <see cref="
CompositionContainer
"/>.
System\ComponentModel\Composition\Hosting\CompositionService.cs (2)
17
private readonly
CompositionContainer
? _compositionContainer;
33
var
compositionContainer = new CompositionContainer(composablePartCatalog, compositionOptions);
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (29)
48
/// from <typeparamref name="T"/> in the <see cref="
CompositionContainer
"/>.
53
/// derived from <typeparamref name="T"/> in the <see cref="
CompositionContainer
"/>.
57
/// The <see cref="
CompositionContainer
"/> has been disposed of.
99
/// in the <see cref="
CompositionContainer
"/>.
104
/// name in the <see cref="
CompositionContainer
"/>.
108
/// The <see cref="
CompositionContainer
"/> has been disposed of.
145
/// <see cref="
CompositionContainer
"/>.
151
/// <see cref="
CompositionContainer
"/>.
158
/// The <see cref="
CompositionContainer
"/> has been disposed of.
197
/// specified contract name in the <see cref="
CompositionContainer
"/>.
202
/// specified contract name in the <see cref="
CompositionContainer
"/>.
209
/// The <see cref="
CompositionContainer
"/> has been disposed of.
259
/// The <see cref="
CompositionContainer
"/> has been disposed of.
305
/// The <see cref="
CompositionContainer
"/> has been disposed of.
346
/// The <see cref="
CompositionContainer
"/> has been disposed of.
384
/// The <see cref="
CompositionContainer
"/> has been disposed of.
426
/// The <see cref="
CompositionContainer
"/> has been disposed of.
461
/// <typeparamref name="T"/> in the <see cref="
CompositionContainer
"/>.
466
/// <typeparamref name="T"/> in the <see cref="
CompositionContainer
"/>.
470
/// The <see cref="
CompositionContainer
"/> has been disposed of.
511
/// <see cref="
CompositionContainer
"/>.
516
/// <see cref="
CompositionContainer
"/>.
520
/// The <see cref="
CompositionContainer
"/> has been disposed of.
566
/// <typeparamref name="T"/> in the <see cref="
CompositionContainer
"/>.
570
/// The <see cref="
CompositionContainer
"/> has been disposed of.
617
/// <see cref="
CompositionContainer
"/>.
620
/// The <see cref="
CompositionContainer
"/> has been disposed of.
659
/// The <see cref="
CompositionContainer
"/> has been disposed of.
700
/// The <see cref="
CompositionContainer
"/> has been disposed of.
System\ComponentModel\Composition\Hosting\ExportsChangeEventArgs.cs (3)
60
/// the exports that have been added to the <see cref="
CompositionContainer
"/>.
77
/// the exports that have been added to the <see cref="
CompositionContainer
"/>.
94
/// the exports that have changed in the <see cref="
CompositionContainer
"/>.
System\ComponentModel\Composition\ImportAttribute.cs (2)
123
/// present in the <see cref="Hosting.
CompositionContainer
"/>; otherwise, <see langword="false"/>.
145
/// <see cref="Hosting.
CompositionContainer
"/>; otherwise, <see langword="false"/>.
System\ComponentModel\Composition\ImportManyAttribute.cs (1)
123
/// <see cref="Hosting.
CompositionContainer
"/>; otherwise, <see langword="false"/>.