7 references to ToElement
System.ComponentModel.Composition (7)
System\ComponentModel\Composition\ErrorBuilder.cs (6)
16
part.
ToElement
().DisplayName);
24
part.
ToElement
().DisplayName);
52
ICompositionElement element = part.
ToElement
();
74
part.
ToElement
().DisplayName);
90
part.
ToElement
().DisplayName);
97
ICompositionElement element = part.
ToElement
();
System\ComponentModel\Composition\ReflectionModel\ExportfactoryCreator.LifetimeContext.cs (1)
43
exportedValue = ExportServices.CastExportedValue<T>(part.
ToElement
(), part.GetExportedValue(exportDef));