File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,14 @@ namespace ICSharpCode.ILSpy.ViewModels
3131{
3232 [ Export ]
3333 [ NonShared ]
34+ #if CROSS_PLATFORM
35+ public class TabPageModel : Dock . Model . TomsToolbox . Controls . Document
36+ {
37+ protected static DockWorkspace DockWorkspace => App . ExportProvider . GetExportedValue < DockWorkspace > ( ) ;
38+ #else
3439 public class TabPageModel : PaneModel
3540 {
41+ #endif
3642 public IExportProvider ExportProvider { get ; }
3743
3844 public TabPageModel ( IExportProvider exportProvider )
Original file line number Diff line number Diff line change 2020
2121namespace ICSharpCode . ILSpy . ViewModels
2222{
23- public abstract class ToolPaneModel : PaneModel
23+ #if CROSS_PLATFORM
24+ public abstract class ToolPaneModel : Dock . Model . TomsToolbox . Controls . Tool
2425 {
26+ protected static DockWorkspace DockWorkspace => App . ExportProvider . GetExportedValue < DockWorkspace > ( ) ;
27+ #else
28+ public abstract class ToolPaneModel : ToolPaneModel
29+ {
30+ #endif
2531 public virtual void Show ( )
2632 {
2733 this . IsActive = true ;
You can’t perform that action at this time.
0 commit comments