Пример #1
0
 public void RecoveredAndDeathsStatistics(object source, RecoveredAndDeathsStatisiticsEventArgs args)
 {
     lock (path)
     {
         using (StreamWriter sw = File.AppendText(path))
         {
             sw.WriteLine(args.ToString());
         }
     }
 }
Пример #2
0
 public void TotalDeathAndRecoveredOutput(object source, RecoveredAndDeathsStatisiticsEventArgs args)
 {
     Console.WriteLine(args.ToString());
 }