FortuneTemplate.cs 375 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using System.IO;
  3. namespace Revenj.Bench
  4. {
  5. public partial class Fortunes
  6. {
  7. private readonly TextWriter writer;
  8. public Fortunes(List<KeyValuePair<int, string>> arg, TextWriter writer)
  9. {
  10. this._fortunesField = arg;
  11. this.writer = writer;
  12. }
  13. public new void Write(string what) { writer.Write(what); }
  14. }
  15. }