File tree Expand file tree Collapse file tree
waveIDE.UI.Browser/Properties Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Runtime . InteropServices ;
3+
4+ [ assembly: CLSCompliant ( true ) ]
5+ [ assembly: ComVisible ( false ) ]
Original file line number Diff line number Diff line change 22
33namespace OceanApocalypse . Wave . SDK . Clients ;
44
5+ /// <summary>
6+ /// The exposed plugin API plugins can use to interact with the underlying host.
7+ /// </summary>
58public sealed class PluginContext
69{
710 public WorkspaceApi Workspace { get ; }
Original file line number Diff line number Diff line change 11[ assembly: System . Runtime . Versioning . SupportedOSPlatform ( "browser" ) ]
2+ [ assembly: System . CLSCompliant ( true ) ]
23[ assembly: System . Runtime . InteropServices . ComVisible ( false ) ]
Original file line number Diff line number Diff line change 55
66using OceanApocalypse . Wave . IDE . UI . ViewModels ;
77using OceanApocalypse . Wave . IDE . UI . Views ;
8+ using System ;
89
910namespace OceanApocalypse . Wave . IDE . UI ;
1011
@@ -41,7 +42,11 @@ public override void OnFrameworkInitializationCompleted()
4142 Page = new MainView { DataContext = new MainViewModel ( ) }
4243 } ;
4344 }
45+ else
46+ {
47+ throw new InvalidOperationException ( "waveIDE is not supported in this platform." ) ;
48+ }
4449
4550 base . OnFrameworkInitializationCompleted ( ) ;
4651 }
47- }
52+ }
You can’t perform that action at this time.
0 commit comments