Guest User

Untitled

a guest
May 17th, 2016
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.53 KB | None | 0 0
  1. public class Crash
  2.     {
  3.         public Crash(dynamic crash)
  4.         {
  5.             this.Date = crash.Date;
  6.             try
  7.             {
  8.                 this.Device = crash.Device;
  9.             }
  10.             catch
  11.             {
  12.                 this.Device = null;
  13.             }
  14.         }
  15.  
  16.         public string Date { get; set; }
  17.         public string PackageName { get; set; }
  18.         public string DailyCrashes { get; set; }
  19.         public string DailyANRs { get; set; }
  20.         public string Device { get; set; }
  21.     }
Advertisement
Add Comment
Please, Sign In to add comment