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