tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Components
Session
LaunchResult.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Globalization;
3
4
namespace
Tgstation.Server.Host.Components.Session
5
{
9
public
sealed
class
LaunchResult
10
{
14
public
TimeSpan?
StartupTime
{
get
; init; }
15
19
public
int
?
ExitCode
{
get
; init; }
20
22
public
override
string
ToString
() => String.Format(CultureInfo.InvariantCulture,
"Exit Code: {0}, Time {1}ms"
,
ExitCode
,
StartupTime
?.TotalMilliseconds);
23
}
24
}
Tgstation.Server.Host.Components.Session.LaunchResult
Represents the result of trying to start a DD process.
Definition
LaunchResult.cs:10
Tgstation.Server.Host.Components.Session.LaunchResult.ExitCode
int? ExitCode
The global::System.Diagnostics.Process.ExitCode if it exited.
Definition
LaunchResult.cs:19
Tgstation.Server.Host.Components.Session.LaunchResult.StartupTime
TimeSpan? StartupTime
The time it took for global::System.Diagnostics.Process.WaitForInputIdle() to return or the initial b...
Definition
LaunchResult.cs:14
Tgstation.Server.Host.Components.Session.LaunchResult.ToString
override string ToString()
Tgstation.Server.Host.Components.Session
Definition
ApiValidationStatus.cs:2
Generated by
1.9.8