Inheritance: System.Dynamic.DynamicObject
Example #1
0
        static Runtime()
        {
            var args = new[]
            {
                "octave-sharp",
                "--no-line-editing",
                "--no-history",
                "--no-init-file",
                "--silent"
            };

            if (!string.IsNullOrWhiteSpace(OctaveConfiguration.Default.RuntimeArguments))
            {
                args = OctaveConfiguration.Default.RuntimeArguments.Split('\0');
            }

            if (!OctaveCore.Octave.Main(args))
            {
                throw new OctaveRuntimeException("Runtime initialization error");
            }

            _finalizer = new RuntimeFinalizer();

            _intepreter = new OctaveIntepreter();
        }
Example #2
0
        static Runtime()
        {
            var args = new[]
                           {
                               "octave-sharp",
                               "--no-line-editing",
                               "--no-history",
                               "--no-init-file",
                               "--silent"
                           };

            if (!string.IsNullOrWhiteSpace(OctaveConfiguration.Default.RuntimeArguments))
            {
                args = OctaveConfiguration.Default.RuntimeArguments.Split('\0');
            }

            if (!OctaveCore.Octave.Main(args))
            {
                throw new OctaveRuntimeException("Runtime initialization error");
            }

            _finalizer = new RuntimeFinalizer();

            _intepreter = new OctaveIntepreter();
        }