1 override of Metadata
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
95public override IDictionary<string, object?> Metadata
7 references to Metadata
System.ComponentModel.Composition (7)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogExport.cs (1)
65CreationPolicy partPolicy = partDefinition.Metadata.GetValue<CreationPolicy>(CompositionConstants.PartCreationPolicyMetadataName);
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (2)
96return part.Metadata.ContainsKey(key); 114if (part.Metadata.TryGetValue(key, out object? untypedValue))
System\ComponentModel\Composition\Primitives\ComposablePart.cs (1)
93/// <see cref="ComposablePartDefinition.Metadata"/>.
System\ComponentModel\Composition\Primitives\PrimitivesServices.cs (3)
14return part.Metadata.GetValue<bool>(CompositionConstants.IsGenericPartMetadataName); 37int partArity = part.Metadata.GetValue<int>(CompositionConstants.GenericPartArityMetadataName); 78int partArity = part.Metadata.GetValue<int>(CompositionConstants.GenericPartArityMetadataName);