10 references to Create
Microsoft.DotNet.AsmDiff (1)
MefHelpers.cs (1)
78ExportDescriptor.Create((c, o) => _exportedInstance, Metadata));
System.Composition.Hosting (6)
System\Composition\Hosting\Providers\CurrentScope\CurrentScopeExportDescriptorProvider.cs (1)
23_ => ExportDescriptor.Create((c, o) => c, NoMetadata)) };
System\Composition\Hosting\Providers\ExportFactory\ExportFactoryExportDescriptorProvider.cs (1)
49return ExportDescriptor.Create((c, o) =>
System\Composition\Hosting\Providers\ExportFactory\ExportFactoryWithMetadataExportDescriptorProvider.cs (1)
53return ExportDescriptor.Create((c, o) =>
System\Composition\Hosting\Providers\ImportMany\ImportManyExportDescriptorProvider.cs (1)
52return ExportDescriptor.Create((c, o) => dependentDescriptors.Select(e => (TElement)e.Activator(c, o)).ToArray(), NoMetadata);
System\Composition\Hosting\Providers\Lazy\LazyExportDescriptorProvider.cs (1)
39return ExportDescriptor.Create((c, o) => new Lazy<TValue>(() => (TValue)CompositionOperation.Run(c, da)), dsc.Metadata);
System\Composition\Hosting\Providers\Lazy\LazyWithMetadataExportDescriptorProvider.cs (1)
42return ExportDescriptor.Create((c, o) =>
System.Composition.TypedParts (3)
System\Composition\Hosting\InstanceExportDescriptorProvider.cs (1)
23ExportDescriptor.Create((c, o) => _exportedInstance, Metadata));
System\Composition\TypedParts\Discovery\DiscoveredInstanceExport.cs (1)
19return ExportDescriptor.Create(partActivator, Metadata);
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (1)
33return ExportDescriptor.Create(activator.Compile(), Metadata);