Esempio n. 1
0
 public FishHistoryDBSummaryModel()
 {
     this.Count   = 0;
     this.Results = new List <FishHistoryDBSummaryResultModel>();
     foreach (FishResultStatusKind v in Enum.GetValues(typeof(FishResultStatusKind)))
     {
         if (v != FishResultStatusKind.Unknown)
         {
             FishHistoryDBSummaryResultModel result = new FishHistoryDBSummaryResultModel();
             result.Result = v;
             Results.Add(result);
         }
     }
 }
 public FishHistoryDBSummaryModel()
 {
     this.Count = 0;
     this.Results = new List<FishHistoryDBSummaryResultModel>();
     foreach (FishResultStatusKind v in Enum.GetValues(typeof(FishResultStatusKind)))
     {
         if (v != FishResultStatusKind.Unknown)
         {
             FishHistoryDBSummaryResultModel result = new FishHistoryDBSummaryResultModel();
             result.Result = v;
             Results.Add(result);
         }
     }
 }