8 types derived from ComposablePartCatalog
System.ComponentModel.Composition (8)
System\ComponentModel\Composition\Hosting\AggregateCatalog.cs (1)
19
public class AggregateCatalog :
ComposablePartCatalog
, INotifyComposablePartCatalogChanged
System\ComponentModel\Composition\Hosting\ApplicationCatalog.cs (1)
15
public partial class ApplicationCatalog :
ComposablePartCatalog
, ICompositionElement
System\ComponentModel\Composition\Hosting\AssemblyCatalog.cs (1)
23
public class AssemblyCatalog :
ComposablePartCatalog
, ICompositionElement
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogChangeProxy.cs (1)
13
private sealed class CatalogChangeProxy :
ComposablePartCatalog
System\ComponentModel\Composition\Hosting\CompositionScopeDefinition.cs (1)
14
public class CompositionScopeDefinition :
ComposablePartCatalog
, INotifyComposablePartCatalogChanged
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (1)
22
public partial class DirectoryCatalog :
ComposablePartCatalog
, INotifyComposablePartCatalogChanged, ICompositionElement
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (1)
14
public partial class FilteredCatalog :
ComposablePartCatalog
, INotifyComposablePartCatalogChanged
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (1)
25
public class TypeCatalog :
ComposablePartCatalog
, ICompositionElement
87 references to ComposablePartCatalog
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (2)
MockComponentModel.vb (2)
22
Public ReadOnly Property DefaultCatalog As
ComposablePartCatalog
Implements IComponentModel.DefaultCatalog
41
Public Function GetCatalog(catalogName As String) As
ComposablePartCatalog
Implements IComponentModel.GetCatalog
System.ComponentModel.Composition (85)
System\ComponentModel\Composition\Hosting\AggregateCatalog.cs (12)
14
/// A mutable collection of <see cref="
ComposablePartCatalog
"/>s.
28
: this((IEnumerable<
ComposablePartCatalog
>?)null)
37
/// An <see cref="Array"/> of <see cref="
ComposablePartCatalog
"/> objects to add to the
46
public AggregateCatalog(params
ComposablePartCatalog
[]? catalogs)
47
: this((IEnumerable<
ComposablePartCatalog
>?)catalogs)
56
/// An <see cref="IEnumerable{T}"/> of <see cref="
ComposablePartCatalog
"/> objects to add
63
public AggregateCatalog(IEnumerable<
ComposablePartCatalog
>? catalogs)
130
foreach (
var
catalog in _catalogs)
133
if (catalogExports !=
ComposablePartCatalog
._EmptyExportsList)
152
return result ??
ComposablePartCatalog
._EmptyExportsList;
159
/// An <see cref="ICollection{T}"/> of underlying <see cref="
ComposablePartCatalog
"/> objects
165
public ICollection<
ComposablePartCatalog
> Catalogs
System\ComponentModel\Composition\Hosting\ApplicationCatalog.cs (2)
48
internal
ComposablePartCatalog
CreateCatalog(string location, string pattern)
80
var catalogs = new List<
ComposablePartCatalog
>();
System\ComponentModel\Composition\Hosting\AssemblyCatalog.cs (3)
28
private volatile
ComposablePartCatalog
? _innerCatalog;
416
/// The <see cref="
ComposablePartCatalog
"/> has been disposed of.
430
private
ComposablePartCatalog
InnerCatalog
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogChangeProxy.cs (2)
15
private readonly
ComposablePartCatalog
_originalCatalog;
19
public CatalogChangeProxy(
ComposablePartCatalog
originalCatalog,
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (8)
43
private
ComposablePartCatalog
_catalog;
56
/// The <see cref="
ComposablePartCatalog
"/> that the <see cref="CatalogExportProvider"/>
62
public CatalogExportProvider(
ComposablePartCatalog
catalog)
67
public CatalogExportProvider(
ComposablePartCatalog
catalog, bool isThreadSafe)
72
public CatalogExportProvider(
ComposablePartCatalog
catalog, CompositionOptions compositionOptions)
104
/// The <see cref="
ComposablePartCatalog
"/> that the
111
public
ComposablePartCatalog
Catalog
317
ComposablePartCatalog
currentCatalog = atomicComposition.GetValueAllowNull(_catalog);
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
73
internal CompositionContainer CreateChildContainer(
ComposablePartCatalog
childCatalog)
System\ComponentModel\Composition\Hosting\CatalogExtensions.cs (1)
16
public static CompositionService CreateCompositionService(this
ComposablePartCatalog
composablePartCatalog)
System\ComponentModel\Composition\Hosting\ComposablePartCatalogChangeEventArgs.cs (4)
26
/// are being added to the <see cref="
ComposablePartCatalog
"/>.
30
/// are being removed from the <see cref="
ComposablePartCatalog
"/>.
57
/// have been added to the <see cref="
ComposablePartCatalog
"/>.
74
/// have been removed from the <see cref="
ComposablePartCatalog
"/>.
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (23)
20
internal sealed class ComposablePartCatalogCollection : ICollection<
ComposablePartCatalog
>, INotifyComposablePartCatalogChanged, IDisposable
25
private List<
ComposablePartCatalog
> _catalogs = new List<
ComposablePartCatalog
>();
31
IEnumerable<
ComposablePartCatalog
>? catalogs,
35
catalogs ??= Enumerable.Empty<
ComposablePartCatalog
>();
36
_catalogs = new List<
ComposablePartCatalog
>(catalogs);
43
public void Add(
ComposablePartCatalog
item)
59
_catalogs = new List<
ComposablePartCatalog
>(_catalogs);
90
ComposablePartCatalog
[]? catalogs = null;
113
_catalogs = new List<
ComposablePartCatalog
>();
126
public bool Contains(
ComposablePartCatalog
item)
138
public void CopyTo(
ComposablePartCatalog
[] array, int arrayIndex)
171
public bool Remove(
ComposablePartCatalog
item)
196
_catalogs = new List<
ComposablePartCatalog
>(_catalogs);
231
public IEnumerator<
ComposablePartCatalog
> GetEnumerator()
237
IEnumerator<
ComposablePartCatalog
> enumerator = _catalogs.GetEnumerator();
261
IEnumerable<
ComposablePartCatalog
>? catalogs = null;
354
private void SubscribeToCatalogNotifications(
ComposablePartCatalog
catalog)
363
private void SubscribeToCatalogNotifications(IEnumerable<
ComposablePartCatalog
> catalogs)
365
foreach (
var
catalog in catalogs)
371
private void UnsubscribeFromCatalogNotifications(
ComposablePartCatalog
catalog)
380
private void UnsubscribeFromCatalogNotifications(IEnumerable<
ComposablePartCatalog
> catalogs)
382
foreach (
var
catalog in catalogs)
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (8)
36
: this((
ComposablePartCatalog
?)null)
54
this((
ComposablePartCatalog
?)null, providers)
75
this((
ComposablePartCatalog
?)null, compositionOptions, providers)
93
public CompositionContainer(
ComposablePartCatalog
? catalog, params ExportProvider[]? providers) :
115
public CompositionContainer(
ComposablePartCatalog
? catalog, bool isThreadSafe, params ExportProvider[]? providers)
137
public CompositionContainer(
ComposablePartCatalog
? catalog, CompositionOptions compositionOptions, params ExportProvider[]? providers)
243
/// The <see cref="
ComposablePartCatalog
"/> which provides the
250
public
ComposablePartCatalog
? Catalog
System\ComponentModel\Composition\Hosting\CompositionScopeDefinition.cs (5)
16
private
ComposablePartCatalog
? _catalog;
31
public CompositionScopeDefinition(
ComposablePartCatalog
catalog, IEnumerable<CompositionScopeDefinition> children)
45
public CompositionScopeDefinition(
ComposablePartCatalog
catalog, IEnumerable<CompositionScopeDefinition> children, IEnumerable<ExportDefinition> publicSurface)
60
private void InitializeCompositionScopeDefinition(
ComposablePartCatalog
catalog, IEnumerable<CompositionScopeDefinition>? children, IEnumerable<ExportDefinition>? publicSurface)
170
/// The <see cref="
ComposablePartCatalog
"/> has been disposed of.
System\ComponentModel\Composition\Hosting\CompositionService.cs (2)
10
/// A mutable collection of <see cref="
ComposablePartCatalog
"/>s.
20
internal CompositionService(
ComposablePartCatalog
composablePartCatalog)
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (4)
17
private
ComposablePartCatalog
_innerCatalog;
27
public FilteredCatalog(
ComposablePartCatalog
catalog, Func<ComposablePartDefinition, bool> filter) :
32
internal FilteredCatalog(
ComposablePartCatalog
catalog, Func<ComposablePartDefinition, bool> filter, FilteredCatalog? complement)
140
/// The <see cref="
ComposablePartCatalog
"/> has been disposed of.
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (1)
135
public static FilteredCatalog Filter(this
ComposablePartCatalog
catalog, Func<ComposablePartDefinition, bool> filter)
System\ComponentModel\Composition\PartNotDiscoverableAttribute.cs (1)
8
/// a <see cref="Primitives.
ComposablePartCatalog
" />.
System\ComponentModel\Composition\Primitives\ComposablePartCatalog.cs (5)
30
/// Initializes a new instance of the <see cref="
ComposablePartCatalog
"/> class.
41
/// <see cref="
ComposablePartCatalog
"/>.
44
/// The <see cref="
ComposablePartCatalog
"/> has been disposed of.
88
/// The <see cref="
ComposablePartCatalog
"/> has been disposed of.
126
/// Releases the unmanaged and managed resources used by the <see cref="
ComposablePartCatalog
"/>.
System\ComponentModel\Composition\Primitives\ComposablePartCatalogDebuggerProxy.cs (2)
14
private readonly
ComposablePartCatalog
_catalog;
16
public ComposablePartCatalogDebuggerProxy(
ComposablePartCatalog
catalog)
System\ComponentModel\Composition\Primitives\CompositionElementExtensions.cs (1)
50
public static string GetDisplayName(this
ComposablePartCatalog
catalog)