Ejemplo n.º 1
0
 private void InitGrammar()
 {
     using (var strm = Assembly.GetExecutingAssembly().GetManifestResourceStream("GlobalcachingApplication.Plugins.FormulaSolver.Grammar.SingleLineFormula.egt"))
         using (System.IO.BinaryReader br = new System.IO.BinaryReader(strm))
         {
             interpreter = new FormulaInterpreter.FormulaInterpreter(br);
         }
 }
Ejemplo n.º 2
0
 private void InitGrammar()
 {
     using (var strm = Assembly.GetExecutingAssembly().GetManifestResourceStream("GlobalcachingApplication.Plugins.FormulaSolver.Grammar.SingleLineFormula.egt"))
     using (System.IO.BinaryReader br = new System.IO.BinaryReader(strm))
     {
         interpreter = new FormulaInterpreter.FormulaInterpreter(br);
     }
 }