Ejemplo n.º 1
0
        /// <summary>Clear the buffer. Replace the current stream with a new one.</summary>
        public void Reset(TextReader reader, MathSystem system)
        {
            if (system == null)
            {
                throw new ArgumentNullException("system");
            }
            if (reader == null)
            {
                throw new ArgumentNullException("reader");
            }

            this.system  = system;
            this.context = system.Context;
            tokenizer.Reset(reader, context);
        }
Ejemplo n.º 2
0
 /// <summary>Clear the buffer. Replace the current stream with a new one.</summary>
 public void Reset(TextReader reader, MathSystem system)
 {
     this.system  = system;
     this.context = system.Context;
     tokenizer.Reset(reader, context);
 }