mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-14 05:34:48 +00:00
ElectronNET.API: Move API code to subfolder
This commit is contained in:
22
src/ElectronNET.API/API/HybridSupport.cs
Normal file
22
src/ElectronNET.API/API/HybridSupport.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace ElectronNET.API
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public static class HybridSupport
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance is electron active.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// <c>true</c> if this instance is electron active; otherwise, <c>false</c>.
|
||||
/// </value>
|
||||
public static bool IsElectronActive
|
||||
{
|
||||
get
|
||||
{
|
||||
return ElectronNetRuntime.RuntimeController != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user