Example #1
0
 private void OnDeserialized(StreamingContext context = default(StreamingContext))
 {
     Coverage = Coverage ?? new ObservableCollection <LandCoverItem>();
     if (Coverage.Count == 0 || Coverage[0].Mapping == null)
     {
         Coverage.Clear();
         foreach (var item in LandCoverTableService.GetTable("ESACCI LCCS"))
         {
             Coverage.Add(item.Clone());
         }
     }
 }