2 types derived from DiscoveredExport
System.Composition.TypedParts (2)
System\Composition\TypedParts\Discovery\DiscoveredInstanceExport.cs (1)
10
internal sealed class DiscoveredInstanceExport :
DiscoveredExport
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (1)
11
internal sealed class DiscoveredPropertyExport :
DiscoveredExport
27 references to DiscoveredExport
System.Composition.TypedParts (27)
System\Composition\Debugging\DiscoveredPartDebuggerProxy.cs (1)
25
public
DiscoveredExport
[] Exports
System\Composition\TypedParts\Discovery\DiscoveredExport.cs (1)
48
public abstract
DiscoveredExport
CloseGenericExport(TypeInfo closedPartType, Type[] genericArguments);
System\Composition\TypedParts\Discovery\DiscoveredInstanceExport.cs (1)
22
public override
DiscoveredExport
CloseGenericExport(TypeInfo closedPartType, Type[] genericArguments)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (6)
24
private readonly List<
DiscoveredExport
> _exports = new List<
DiscoveredExport
>();
66
public void AddDiscoveredExport(
DiscoveredExport
export)
248
foreach (
var
export in _exports)
250
var
closedExport = export.CloseGenericExport(closedType, typeArguments);
258
public IEnumerable<
DiscoveredExport
> DiscoveredExports { get { return _exports; } }
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (1)
36
public override
DiscoveredExport
CloseGenericExport(TypeInfo closedPartType, Type[] genericArguments)
System\Composition\TypedParts\Discovery\TypeInspector.cs (6)
34
foreach (
var
export in DiscoverExports(type))
43
private IEnumerable<
DiscoveredExport
> DiscoverExports(TypeInfo partType)
45
foreach (
var
export in DiscoverInstanceExports(partType))
48
foreach (
var
export in DiscoverPropertyExports(partType))
52
private IEnumerable<
DiscoveredExport
> DiscoverInstanceExports(TypeInfo partType)
75
private IEnumerable<
DiscoveredExport
> DiscoverPropertyExports(TypeInfo partType)
System\Composition\TypedParts\TypedPartExportDescriptorProvider.cs (11)
16
private readonly Dictionary<CompositionContract, ICollection<
DiscoveredExport
>> _discoveredParts = new Dictionary<CompositionContract, ICollection<
DiscoveredExport
>>();
35
foreach (
var
export in part.DiscoveredExports)
41
private void AddDiscoveredExport(
DiscoveredExport
export, CompositionContract contract = null)
45
ICollection<
DiscoveredExport
> forKey;
48
forKey = new List<
DiscoveredExport
>();
60
ICollection<
DiscoveredExport
> forKey;
84
ICollection<
DiscoveredExport
> forKey;
87
foreach (
var
export in forKey)
111
ICollection<
DiscoveredExport
> openGenericParts;
116
foreach (
var
open in openGenericParts)