Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8298d2347d
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (19 sloc) 0.318 kB
use namespace="System"
functions
@{
bool IsLinux
{
get
{
var platform = (int) Environment.OSVersion.Platform;
return (platform == 4) || (platform == 6) || (platform == 128);
}
}
bool IsMono
{
get
{
return Type.GetType("Mono.Runtime") != null;
}
}
}
Jump to Line
Something went wrong with that request. Please try again.