1 override of Metadata
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
46public override IDictionary<string, object?> Metadata
13 references to Metadata
System.ComponentModel.Composition (13)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
107productImportDefinition.Metadata);
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (1)
572if (!definition.Metadata.TryGetValue(CompositionConstants.ImportSourceMetadataName, out object? source))
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
53reply = new Dictionary<string, object?>(_sourceDefinition.Metadata);
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (1)
297string? genericContractName = definition.Metadata.GetValue<string>(CompositionConstants.GenericContractMetadataName);
System\ComponentModel\Composition\Primitives\PrimitivesServices.cs (4)
33string? genericContractName = import.Metadata.GetValue<string>(CompositionConstants.GenericContractMetadataName); 34int[]? importParametersOrder = import.Metadata.GetValue<int[]>(CompositionConstants.GenericImportParametersOrderMetadataName); 72int[]? importParametersOrder = contractBasedImport.Metadata.GetValue<int[]>(CompositionConstants.GenericImportParametersOrderMetadataName); 94contractBasedImport.Metadata);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (3)
440int[]? importParametersOrder = originalImport.Metadata.GetValue<int[]>(CompositionConstants.GenericImportParametersOrderMetadataName); 443Dictionary<string, object?> metadata = new Dictionary<string, object?>(originalImport.Metadata, StringComparers.MetadataKeyNames); 454return originalImport.Metadata;
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (2)
150var genericParameters = (definition.Metadata.Count > 0) ? definition.Metadata.GetValue<IEnumerable<object>>(CompositionConstants.GenericParametersMetadataName) : null;