7 types derived from ExportProvider
System.ComponentModel.Composition (7)
System\ComponentModel\Composition\Hosting\AggregateExportProvider.cs (1)
14
public class AggregateExportProvider :
ExportProvider
, IDisposable
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogChangeProxy.cs (1)
11
public partial class CatalogExportProvider :
ExportProvider
, IDisposable
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (2)
19
public partial class CatalogExportProvider :
ExportProvider
, IDisposable
21
private sealed class InnerCatalogExportProvider :
ExportProvider
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
11
internal sealed class ScopeManager :
ExportProvider
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (1)
15
public class ComposablePartExportProvider :
ExportProvider
, IDisposable
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (1)
14
public partial class CompositionContainer :
ExportProvider
, ICompositionService, IDisposable
70 references to ExportProvider
Microsoft.CodeAnalysis.Workspaces.Desktop (3)
Workspace\Host\Mef\MefV1HostServices.cs (3)
32
private readonly
ExportProvider
_exportProvider;
38
private MefV1HostServices(
ExportProvider
exportProvider)
43
public static MefV1HostServices Create(
ExportProvider
exportProvider)
Microsoft.VisualStudio.LanguageServices (2)
FindReferences\StreamingFindUsagesPresenter.cs (1)
92
ExportProvider
exportProvider)
ProjectSystem\VisualStudioWorkspaceImpl.cs (1)
721
var
exportProvider = composition.DefaultExportProvider;
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
MockComponentModel.vb (1)
34
Public ReadOnly Property DefaultExportProvider As Hosting.
ExportProvider
Implements IComponentModel.DefaultExportProvider
System.ComponentModel.Composition (64)
System\ComponentModel\Composition\Hosting\AggregateExportProvider.cs (15)
16
private readonly ReadOnlyCollection<
ExportProvider
> _readOnlyProviders;
17
private readonly
ExportProvider
[] _providers;
30
/// executing <see cref="
ExportProvider
.GetExports(ImportDefinition,AtomicComposition)"/>.
37
public AggregateExportProvider(params
ExportProvider
[]? providers)
41
ExportProvider
[]? copiedProviders = null;
44
copiedProviders = new
ExportProvider
[providers.Length];
47
ExportProvider
provider = providers[i];
61
copiedProviders = Array.Empty<
ExportProvider
>();
75
/// executing <see cref="
ExportProvider
.GetExports(ImportDefinition,AtomicComposition)"/>.
82
public AggregateExportProvider(IEnumerable<
ExportProvider
>? providers)
106
foreach (
ExportProvider
provider in _providers)
119
/// A <see cref="ReadOnlyCollection{T}"/> of <see cref="
ExportProvider
"/> objects
125
public ReadOnlyCollection<
ExportProvider
> Providers
163
foreach (
var
provider in _providers)
178
foreach (
ExportProvider
provider in _providers)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (6)
47
private
ExportProvider
? _sourceProvider;
50
private
ExportProvider
? _innerExportProvider;
127
/// The <see cref="
ExportProvider
"/> which provides the
150
public
ExportProvider
? SourceProvider
168
ExportProvider
sourceProvider = value!;
223
ExportProvider
? sourceProvider = null;
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (3)
21
private
ExportProvider
? _sourceProvider;
104
/// The <see cref="
ExportProvider
"/> which provides the
127
public
ExportProvider
? SourceProvider
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (25)
19
private
ExportProvider
_rootProvider;
22
private
ExportProvider
_localExportProvider;
24
private
ExportProvider
? _ancestorExportProvider;
27
private readonly ReadOnlyCollection<
ExportProvider
> _providers;
30
private static readonly ReadOnlyCollection<
ExportProvider
> EmptyProviders = new ReadOnlyCollection<
ExportProvider
>(Array.Empty<
ExportProvider
>());
45
/// A <see cref="Array"/> of <see cref="
ExportProvider
"/> objects which provide
53
public CompositionContainer(params
ExportProvider
[]? providers) :
66
/// A <see cref="Array"/> of <see cref="
ExportProvider
"/> objects which provide
74
public CompositionContainer(CompositionOptions compositionOptions, params
ExportProvider
[]? providers) :
85
/// A <see cref="Array"/> of <see cref="
ExportProvider
"/> objects which provide
93
public CompositionContainer(ComposablePartCatalog? catalog, params
ExportProvider
[]? providers) :
107
/// A <see cref="Array"/> of <see cref="
ExportProvider
"/> objects which provide
115
public CompositionContainer(ComposablePartCatalog? catalog, bool isThreadSafe, params
ExportProvider
[]? providers)
129
/// A <see cref="Array"/> of <see cref="
ExportProvider
"/> objects which provide
137
public CompositionContainer(ComposablePartCatalog? catalog, CompositionOptions compositionOptions, params
ExportProvider
[]? providers)
195
ExportProvider
[] rootProviders = new
ExportProvider
[exportProviderCount];
226
_providers = (providers != null) ? Array.AsReadOnly((
ExportProvider
[])providers.Clone()) : EmptyProviders;
274
/// A <see cref="ReadOnlyCollection{T}"/> of <see cref="
ExportProvider
"/> objects
282
public ReadOnlyCollection<
ExportProvider
> Providers
312
ExportProvider
? rootProvider = null;
378
/// may vary depending on the implementation of the <see cref="
ExportProvider
"/> that produced
407
/// may vary depending on the implementation of the <see cref="
ExportProvider
"/> that produced
System\ComponentModel\Composition\Hosting\ExportProvider.cs (3)
19
/// Initializes a new instance of the <see cref="
ExportProvider
"/> class.
26
/// Occurs when the exports in the <see cref="
ExportProvider
"/> have changed.
31
/// Occurs when the exports in the <see cref="
ExportProvider
"/> are changing.
System\ComponentModel\Composition\Hosting\ExportsChangeEventArgs.cs (4)
14
/// Provides data for the <see cref="
ExportProvider
.ExportsChanged"/> and
15
/// <see cref="
ExportProvider
.ExportsChanging"/> events.
39
/// or during a <see cref="
ExportProvider
.ExportsChanged"/> event.
111
/// <see cref="
ExportProvider
.ExportsChanged"/> event.
System\ComponentModel\Composition\Hosting\ImportEngine.cs (7)
23
private
ExportProvider
? _sourceProvider;
34
/// The <see cref="
ExportProvider
"/> which provides the
37
public ImportEngine(
ExportProvider
sourceProvider)
42
public ImportEngine(
ExportProvider
sourceProvider, bool isThreadSafe)
47
public ImportEngine(
ExportProvider
sourceProvider, CompositionOptions compositionOptions)
263
ExportProvider
? sourceProviderToUnsubscribeFrom = null;
737
private static CompositionResult<IEnumerable<Export>> TryGetExports(
ExportProvider
? provider,
System\ComponentModel\Composition\ImportCardinalityMismatchException.cs (1)
13
/// <see cref="Hosting.
ExportProvider
"/>.