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
ファイルを表示 Open project: jaredpar/EditorUtils

Protected Methods

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

Private Methods

Method Description
UndoExportProvider ( ) : System

Method Details

GetExportsCore() protected method

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