22 references to CompositionServices
System.ComponentModel.Composition (22)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (8)
87CompositionServices.GetRequiredMetadata(importType.MetadataViewType), 92CompositionServices.GetImportMetadata(importType, attributedImport))); 100CompositionServices.GetRequiredMetadata(importType.MetadataViewType), 103CompositionServices.GetImportMetadata(importType, attributedImport), 124CompositionServices.GetRequiredMetadata(importType.MetadataViewType), 129CompositionServices.GetImportMetadata(importType, attributedImport))); 139CompositionServices.GetRequiredMetadata(importType.MetadataViewType), 144CompositionServices.GetImportMetadata(importType, attributedImport),
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (3)
269if (exportAttribute.GetType() == CompositionServices.InheritedExportAttributeType) 389while (currentType != null && currentType.UnderlyingSystemType != CompositionServices.ObjectType) 461while (baseType != null && baseType.UnderlyingSystemType != CompositionServices.ObjectType)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (1)
528object? exportedValue = CompositionServices.GetExportedValueFromComposedPart(
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (2)
307result = result.MergeResult(CompositionServices.TryInvoke(() => 390return CompositionServices.GetExportedValueFromComposedPart(ImportEngine, part, export);
System\ComponentModel\Composition\Hosting\CompositionServices.cs (4)
177if (contractType == CompositionServices.ObjectType) 283if ((attrType != CompositionServices.ExportAttributeType) && attrType.IsAttributeDefined<MetadataAttributeAttribute>(true)) 295if (pi.DeclaringType == CompositionServices.ExportAttributeType || pi.DeclaringType == CompositionServices.AttributeType)
System\ComponentModel\Composition\Hosting\ExportProvider.cs (2)
187CompositionResult result = CompositionServices.TryFire(changedEvent, this, e); 203CompositionResult result = CompositionServices.TryFire(changingEvent, this, e);
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (2)
800IEnumerable<KeyValuePair<string, Type>> requiredMetadata = CompositionServices.GetRequiredMetadata(metadataViewType); 801IDictionary<string, object?> metadata = CompositionServices.GetImportMetadata(type, null);