4 references to TryUnwrapMetadataConstraint
System.Composition.Hosting (3)
System\Composition\Hosting\Providers\ExportFactory\ExportFactoryExportDescriptorProvider.cs (1)
33if (exportFactoryContract.TryUnwrapMetadataConstraint(Constants.SharingBoundaryImportMetadataConstraintName, out specifiedBoundaries, out unwrapped))
System\Composition\Hosting\Providers\ExportFactory\ExportFactoryWithMetadataExportDescriptorProvider.cs (1)
36if (exportFactoryContract.TryUnwrapMetadataConstraint(Constants.SharingBoundaryImportMetadataConstraintName, out specifiedBoundaries, out unwrapped))
System\Composition\Hosting\Providers\ImportMany\ImportManyExportDescriptorProvider.cs (1)
25if (!contract.TryUnwrapMetadataConstraint(Constants.ImportManyImportMetadataConstraintName, out isImportMany, out unwrapped))
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
67/// directly it is advisable to use the <see cref="TryUnwrapMetadataConstraint"/> method.