5 instantiations of ComposablePartCatalogChangeEventArgs
System.ComponentModel.Composition (5)
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (2)
306
_onChanged.Invoke(new
ComposablePartCatalogChangeEventArgs
(added, removed, null));
326
_onChanging.Invoke(new
ComposablePartCatalogChangeEventArgs
(added, removed, atomicComposition));
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (2)
611
var changingArgs = new
ComposablePartCatalogChangeEventArgs
(addedDefinitions, removedDefinitions, atomicComposition);
646
var changedArgs = new
ComposablePartCatalogChangeEventArgs
(addedDefinitions, removedDefinitions, null);
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (1)
215
var result = new
ComposablePartCatalogChangeEventArgs
(
51 references to ComposablePartCatalogChangeEventArgs
System.ComponentModel.Composition (51)
System\ComponentModel\Composition\Hosting\AggregateCatalog.cs (6)
73
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changed
88
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changing
203
/// An <see cref="
ComposablePartCatalogChangeEventArgs
"/> containing the data for the event.
205
protected virtual void OnChanged(
ComposablePartCatalogChangeEventArgs
e)
214
/// An <see cref="
ComposablePartCatalogChangeEventArgs
"/> containing the data for the event.
216
protected virtual void OnChanging(
ComposablePartCatalogChangeEventArgs
e)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (1)
388
private void OnCatalogChanging(object? sender,
ComposablePartCatalogChangeEventArgs
e)
System\ComponentModel\Composition\Hosting\ComposablePartCatalogChangeEventArgs.cs (1)
22
/// Initializes a new instance of the <see cref="
ComposablePartCatalogChangeEventArgs
"/>.
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (10)
23
private readonly Action<
ComposablePartCatalogChangeEventArgs
>? _onChanged;
24
private readonly Action<
ComposablePartCatalogChangeEventArgs
>? _onChanging;
32
Action<
ComposablePartCatalogChangeEventArgs
>? onChanged,
33
Action<
ComposablePartCatalogChangeEventArgs
>? onChanging)
78
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changed;
83
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changing;
309
public void OnChanged(object sender,
ComposablePartCatalogChangeEventArgs
e)
329
public void OnChanging(object sender,
ComposablePartCatalogChangeEventArgs
e)
334
private void OnContainedCatalogChanged(object? sender,
ComposablePartCatalogChangeEventArgs
e)
344
private void OnContainedCatalogChanging(object? sender,
ComposablePartCatalogChangeEventArgs
e)
System\ComponentModel\Composition\Hosting\CompositionScopeDefinition.cs (8)
213
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changed;
218
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changing;
223
/// <param name="e">The <see cref="System.ComponentModel.Composition.Hosting.
ComposablePartCatalogChangeEventArgs
"/> instance containing the event data.</param>
224
protected virtual void OnChanged(
ComposablePartCatalogChangeEventArgs
e)
232
/// <param name="e">The <see cref="System.ComponentModel.Composition.Hosting.
ComposablePartCatalogChangeEventArgs
"/> instance containing the event data.</param>
233
protected virtual void OnChanging(
ComposablePartCatalogChangeEventArgs
e)
238
private void OnChangedInternal(object? sender,
ComposablePartCatalogChangeEventArgs
e)
243
private void OnChangingInternal(object? sender,
ComposablePartCatalogChangeEventArgs
e)
System\ComponentModel\Composition\Hosting\CompositionService.cs (1)
72
private void OnCatalogChanging(object? sender,
ComposablePartCatalogChangeEventArgs
e)
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (8)
444
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changed;
449
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changing;
535
/// An <see cref="
ComposablePartCatalogChangeEventArgs
"/> containing the data for the event.
537
protected virtual void OnChanged(
ComposablePartCatalogChangeEventArgs
e)
546
/// An <see cref="
ComposablePartCatalogChangeEventArgs
"/> containing the data for the event.
548
protected virtual void OnChanging(
ComposablePartCatalogChangeEventArgs
e)
611
var
changingArgs = new ComposablePartCatalogChangeEventArgs(addedDefinitions, removedDefinitions, atomicComposition);
646
var
changedArgs = new ComposablePartCatalogChangeEventArgs(addedDefinitions, removedDefinitions, null);
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (13)
169
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changed;
174
public event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changing;
179
/// <param name="e">The <see cref="System.ComponentModel.Composition.Hosting.
ComposablePartCatalogChangeEventArgs
"/> instance containing the event data.</param>
180
protected virtual void OnChanged(
ComposablePartCatalogChangeEventArgs
e)
188
/// <param name="e">The <see cref="System.ComponentModel.Composition.Hosting.
ComposablePartCatalogChangeEventArgs
"/> instance containing the event data.</param>
189
protected virtual void OnChanging(
ComposablePartCatalogChangeEventArgs
e)
194
private void OnChangedInternal(object? sender,
ComposablePartCatalogChangeEventArgs
e)
196
var
processedArgs = ProcessEventArgs(e);
203
private void OnChangingInternal(object? sender,
ComposablePartCatalogChangeEventArgs
e)
205
var
processedArgs = ProcessEventArgs(e);
212
private
ComposablePartCatalogChangeEventArgs
? ProcessEventArgs(
ComposablePartCatalogChangeEventArgs
e)
215
var
result = new ComposablePartCatalogChangeEventArgs(
System\ComponentModel\Composition\Hosting\FilteredCatalog.Traversal.cs (1)
119
private static void ThrowOnRecomposition(object? sender,
ComposablePartCatalogChangeEventArgs
e)
System\ComponentModel\Composition\Hosting\INotifyComposablePartCatalogChanged.cs (2)
11
event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changed;
12
event EventHandler<
ComposablePartCatalogChangeEventArgs
>? Changing;