Пример #1
0
 private void fillPlace(Res.Place p)
 {
     if (p.protest == null && protestsMap.ContainsKey(p.protestId))
     {
         p.protest = protestsMap[p.protestId];
     }
     if (p.leaflet == null && leafletsMap.ContainsKey(p.leafletId))
     {
         p.leaflet = leafletsMap[p.leafletId];
     }
 }
Пример #2
0
 public Res.Place Place(Res.Place place)
 {
     fillPlace(place);
     return(place);
 }