C# Class EditorUtils.EditorHostFactory.UndoExportProvider

In order to host the editor we need to provide an ITextUndoHistory export. However we can't simply export it from the DLL because it would conflict with Visual Studio's export of ITextUndoHistoryRegistry in the default scenario. This ComposablePartCatalog is simply here to hand export the type in the hosted scenario only
Inheritance: System.ComponentModel.Composition.Hosting.ExportProvider
Afficher le fichier Open project: jaredpar/EditorUtils

Méthodes protégées

Méthode Description
GetExportsCore ( System.ComponentModel.Composition.Primitives.ImportDefinition definition, AtomicComposition atomicComposition ) : IEnumerable

Private Methods

Méthode Description
UndoExportProvider ( ) : System

Method Details

GetExportsCore() protected méthode

protected GetExportsCore ( System.ComponentModel.Composition.Primitives.ImportDefinition definition, AtomicComposition atomicComposition ) : IEnumerable
definition System.ComponentModel.Composition.Primitives.ImportDefinition
atomicComposition AtomicComposition
Résultat IEnumerable