7 references to Metadata
System.Composition.TypedParts (7)
System\Composition\TypedParts\Discovery\DiscoveredInstanceExport.cs (2)
19
return ExportDescriptor.Create(partActivator,
Metadata
);
26
return new DiscoveredInstanceExport(newContract,
Metadata
);
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (2)
33
return ExportDescriptor.Create(activator.Compile(),
Metadata
);
41
return new DiscoveredPropertyExport(newContract,
Metadata
, property);
System\Composition\TypedParts\TypedPartExportDescriptorProvider.cs (3)
67
if (!forKey.Any(x => x.
Metadata
.Any()))
89
var subsettedConstraints = contract.MetadataConstraints.Where(c => export.
Metadata
.ContainsKey(c.Key)).ToDictionary(c => c.Key, c => export.
Metadata
[c.Key]);