tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
System
IPlatformIdentifier.cs
Go to the documentation of this file.
1
using
System.Runtime.Versioning;
2
3
namespace
Tgstation.Server.Host.System
4
{
8
public
interface
IPlatformIdentifier
9
{
13
[SupportedOSPlatformGuard(
"windows"
)]
14
bool
IsWindows
{
get
; }
15
19
string
ScriptFileExtension
{
get
; }
20
26
string
NormalizePath
(
string
path);
27
}
28
}
Tgstation.Server.Host.System.IPlatformIdentifier
For identifying the current platform.
Definition
IPlatformIdentifier.cs:9
Tgstation.Server.Host.System.IPlatformIdentifier.ScriptFileExtension
string ScriptFileExtension
The extension of executable script files for the system.
Definition
IPlatformIdentifier.cs:19
Tgstation.Server.Host.System.IPlatformIdentifier.NormalizePath
string NormalizePath(string path)
Normalize a path for consistency.
Tgstation.Server.Host.System.IPlatformIdentifier.IsWindows
bool IsWindows
If the current platform is a Windows platform.
Definition
IPlatformIdentifier.cs:14
Tgstation.Server.Host.System
Definition
AssemblyInformationProvider.cs:9
Generated by
1.9.8