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