Esempio n. 1
0
 public void TearDown()
 {
     _output     = null;
     _mockOutput = null;
     _textWriter.Flush();
     _textWriter = null;
 }
Esempio n. 2
0
        private void displayDifferences(CultureCurrencyInfo fromGlobalization, CurrencyInfo fromConfiguration, IEnumerable <KeyValuePair <string, Pair> > differences, TextMessageWriter writer)
        {
            displayCultureInformation(writer, fromGlobalization, fromConfiguration);

            foreach (var diff in differences)
            {
                displayDifference(writer, diff);
            }

            writer.Flush();
            WL(writer.ToString());
            StringBuilder sb = writer.GetStringBuilder();

            sb.Remove(0, sb.Length);
            RL();
        }