fCraft  0.638
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
fCraft.MonoCompat Class Reference

Class dedicated to solving Mono compatibility issues More...

Static Public Member Functions

static Process StartDotNetProcess ([NotNull] string assemblyLocation,[NotNull] string assemblyArgs, bool detachIfMono)
 Starts a .NET process, using Mono if necessary.
 
static string PrependMono ([NotNull] string dotNetExecutable)
 Prepends the correct Mono name to the .NET executable, if needed.
 

Properties

static bool IsCaseSensitive [get, set]
 Whether the current filesystem is case-sensitive.
 
static bool IsMono [get, set]
 Whether we are currently running under Mono.
 
static bool IsSGenCapable [get, set]
 Whether Mono's generational GC is available.
 
static string MonoVersionString [get, set]
 Full Mono version string. May be null if we are running a REALLY old version.
 
static Version MonoVersion [get, set]
 Mono version number. May be null if we are running a REALLY old version.
 
static bool IsWindows [get, set]
 Whether we are under a Windows OS (under either .NET or Mono).
 

Detailed Description

Class dedicated to solving Mono compatibility issues

Member Function Documentation

static string fCraft.MonoCompat.PrependMono ( [NotNull] string  dotNetExecutable)
static

Prepends the correct Mono name to the .NET executable, if needed.

static Process fCraft.MonoCompat.StartDotNetProcess ( [NotNull] string  assemblyLocation,
[NotNull] string  assemblyArgs,
bool  detachIfMono 
)
static

Starts a .NET process, using Mono if necessary.

Parameters
assemblyLocation.NET executable path.
assemblyArgsArguments to pass to the executable.
detachIfMonoIf true, new process will be detached under Mono.
Returns
Process object

Property Documentation

bool fCraft.MonoCompat.IsCaseSensitive
staticgetset

Whether the current filesystem is case-sensitive.

bool fCraft.MonoCompat.IsMono
staticgetset

Whether we are currently running under Mono.

bool fCraft.MonoCompat.IsSGenCapable
staticgetset

Whether Mono's generational GC is available.

bool fCraft.MonoCompat.IsWindows
staticgetset

Whether we are under a Windows OS (under either .NET or Mono).

Version fCraft.MonoCompat.MonoVersion
staticgetset

Mono version number. May be null if we are running a REALLY old version.

string fCraft.MonoCompat.MonoVersionString
staticgetset

Full Mono version string. May be null if we are running a REALLY old version.


The documentation for this class was generated from the following file: