C# Class fCraft.MonoCompat

Class dedicated to solving Mono compatibility issues
Show file Open project: GlennMR/800craft

Public Methods

Method Description
PrependMono ( [ dotNetExecutable ) : string

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

StartDotNetProcess ( [ assemblyLocation, [ assemblyArgs, bool detachIfMono ) : Process

Starts a .NET process, using Mono if necessary.

Private Methods

Method Description
MonoCompat ( ) : System

Method Details

PrependMono() public static method

Prepends the correct Mono name to the .NET executable, if needed.
public static PrependMono ( [ dotNetExecutable ) : string
dotNetExecutable [
return string

StartDotNetProcess() public static method

Starts a .NET process, using Mono if necessary.
public static StartDotNetProcess ( [ assemblyLocation, [ assemblyArgs, bool detachIfMono ) : Process
assemblyLocation [ .NET executable path.
assemblyArgs [ Arguments to pass to the executable.
detachIfMono bool If true, new process will be detached under Mono.
return System.Diagnostics.Process