예제 #1
0
        private void AddToLastSuccessIfNotRepeated(string input, string output)
        {
            for (int i = lastSuccessInputs.Length - 1; i >= 0; i--)
            {
                if (lastSuccessInputs[i] == input && lastSuccessOutputs[i] == output)
                {
                    return;
                }
            }

            lastSuccessInputs.Add(input);
            lastSuccessOutputs.Add(output);
        }
예제 #2
0
 public void Add(string feedback)
 {
     lastFeedbacks.Add(feedback);
 }