10 references to ChangeType
System.Composition.Hosting (7)
System\Composition\Hosting\Providers\ExportFactory\ExportFactoryExportDescriptorProvider.cs (2)
28var productContract = exportFactoryContract.ChangeType(typeof(TProduct)); 35productContract = unwrapped.ChangeType(typeof(TProduct));
System\Composition\Hosting\Providers\ExportFactory\ExportFactoryWithMetadataExportDescriptorProvider.cs (2)
31var productContract = exportFactoryContract.ChangeType(typeof(TProduct)); 38productContract = unwrapped.ChangeType(typeof(TProduct));
System\Composition\Hosting\Providers\ImportMany\ImportManyExportDescriptorProvider.cs (1)
32var elementContract = unwrapped.ChangeType(elementType);
System\Composition\Hosting\Providers\Lazy\LazyExportDescriptorProvider.cs (1)
29return definitionAccessor.ResolveDependencies("value", lazyContract.ChangeType(typeof(TValue)), false)
System\Composition\Hosting\Providers\Lazy\LazyWithMetadataExportDescriptorProvider.cs (1)
32return definitionAccessor.ResolveDependencies("value", lazyContract.ChangeType(typeof(TValue)), false)
System.Composition.TypedParts (3)
System\Composition\TypedParts\Discovery\DiscoveredInstanceExport.cs (1)
25var newContract = Contract.ChangeType(closedContractType);
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (1)
39var newContract = Contract.ChangeType(closedContractType);
System\Composition\TypedParts\TypedPartExportDescriptorProvider.cs (1)
110var openGenericContract = contract.ChangeType(gtd);