src/sys/dotnet/fanx/tools/Tool.cs
/// <summary>
/// Initialize the .NET enviornement.
/// </summary>
Initialize the .NET enviornement.
Initialize the . NET enviornement .
public static void sysInit(string reserved)
    {
      if (isInit) return;
      try
      {
        string[] s = reserved.Split('\n');
        string fanHome = s[0];
        SysProps.putProperty("fan.home", fanHome);
        argv = new string[s.Length-1];
        Array.Copy(s, 1, argv, 0, argv.Length);
        verifyDlls();
      }
      catch (Exception e)
      {
        Err.dumpStack(e);
      }
    }
public static void sysInit ( string reserved ) { if ( isInit ) return ; try { string [ ] s = reserved . Split ( ' \n ' ) ; string fanHome = s [ 0 ] ; SysProps . putProperty ( " " , fanHome ) ; argv = new string [ s . Length - 1 ] ; Array . Copy ( s , 1 , argv , 0 , argv . Length ) ; verifyDlls ( ) ; } catch ( Exception e ) { Err . dumpStack ( e ) ; } }
Initialize the .NET enviornement.
Initialize the . NET enviornement .
// get fan.home // get correct cmd line args // check for dll reuse
reserved
string