private void Reset() { ResultSaver.Reset(); //сбросить счетчики CounterDictionary = new CounterDictionary(); IsEnumFinished = false; }
public Generator(Grammar aGrammar) { if (aGrammar == null) { throw new ArgumentNullException(); } mGrammar = aGrammar; CounterDictionary = new CounterDictionary(); }