FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Electron.NET/src/ElectronNET.API/ElectronNetRuntime.cs at develop · ElectronNET/Electron.NET · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
ElectronNET
/
Electron.NET
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
743
Star
7.6k
Code
Issues
21
Pull requests
1
Discussions
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Electron.NET
/
src
/
ElectronNET.API
/
ElectronNetRuntime.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
58 lines (42 loc) · 1.95 KB
Breadcrumbs
Electron.NET
/
src
/
ElectronNET.API
/
ElectronNetRuntime.cs
Copy path
File metadata and controls
58 lines (42 loc) · 1.95 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
namespace
ElectronNET
{
using
ElectronNET
.
API
;
using
ElectronNET
.
Runtime
;
using
ElectronNET
.
Runtime
.
Controllers
;
using
ElectronNET
.
Runtime
.
Data
;
using
System
;
using
System
.
Collections
.
Immutable
;
using
System
.
Threading
.
Tasks
;
public
static
class
ElectronNetRuntime
{
internal
static
StartupManager
StartupManager
;
internal
const
int
DefaultSocketPort
=
8000
;
internal
const
int
DefaultWebPort
=
8001
;
internal
const
string
ElectronPortArgumentName
=
"electronPort"
;
internal
const
string
ElectronPidArgumentName
=
"electronPID"
;
internal
const
string
ElectronAuthTokenArgumentName
=
"electronAuthToken"
;
/// <summary>Initializes the <see cref="ElectronNetRuntime"/> class.</summary>
static
ElectronNetRuntime
(
)
{
StartupManager
=
new
StartupManager
(
)
;
StartupManager
.
Initialize
(
)
;
}
public
static
string
ElectronExtraArguments
{
get
;
set
;
}
public
static
string
ElectronAuthToken
{
get
;
internal
set
;
}
public
static
int
?
ElectronSocketPort
{
get
;
internal
set
;
}
public
static
int
?
AspNetWebPort
{
get
;
internal
set
;
}
public
static
StartupMethod
StartupMethod
{
get
;
internal
set
;
}
public
static
DotnetAppType
DotnetAppType
{
get
;
internal
set
;
}
public
static
string
ElectronExecutable
{
get
;
internal
set
;
}
public
static
ImmutableList
<
string
>
ProcessArguments
{
get
;
internal
set
;
}
public
static
BuildInfo
BuildInfo
{
get
;
internal
set
;
}
public
static
IElectronNetRuntimeController
RuntimeController
=>
RuntimeControllerCore
;
// The below properties are non-public
internal
static
RuntimeControllerBase
RuntimeControllerCore
{
get
;
set
;
}
internal
static
int
?
ElectronProcessId
{
get
;
set
;
}
internal
static
ISocketConnection
GetSocket
(
)
{
return
RuntimeControllerCore
?
.
Socket
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL