Beispiel #1
0
        static void Main(string[] args)
        {
            string          filepath   = args[0];
            FileStream      rootStream = new FileStream(filepath, FileMode.Open);
            BinaryFormatter bf         = new BinaryFormatter();
            FireMLRoot      root       = bf.Deserialize(rootStream) as FireMLRoot;

            FuncCaller    funcCaller = new FuncCaller();
            RuntimeKernel kernel     = new RuntimeKernel(funcCaller, root);

            do
            {
                kernel.Next();
                Console.ReadKey(true);
            } while (!funcCaller.IsEnd);
        }
 internal StrVarRefProcessor(RuntimeKernel runtimeKernel)
 {
     this.runtimeKernel = runtimeKernel;
 }