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