6 references to Run
System.Composition.Hosting (5)
System\Composition\Hosting\Core\LifetimeContext.cs (1)
204
export = CompositionOperation.
Run
(this, defaultForExport.Activator);
System\Composition\Hosting\Providers\ExportFactory\ExportFactoryExportDescriptorProvider.cs (1)
54
return Tuple.Create<TProduct, Action>((TProduct)CompositionOperation.
Run
(lifetimeContext, da), lifetimeContext.Dispose);
System\Composition\Hosting\Providers\ExportFactory\ExportFactoryWithMetadataExportDescriptorProvider.cs (1)
58
return Tuple.Create<TProduct, Action>((TProduct)CompositionOperation.
Run
(lifetimeContext, dsc.Activator), lifetimeContext.Dispose);
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)
44
return new Lazy<TValue, TMetadata>(() => (TValue)CompositionOperation.
Run
(c, da), metadataProvider(dsc.Metadata));
System.Composition.TypedParts (1)
System\Composition\TypedParts\ActivationFeatures\LifetimeFeature.cs (1)
40
return CompositionOperation.
Run
(scope, (c1, o1) => c1.GetOrCreate(sharingKey, o1, activatorBody));