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]; } }
public Res.Place Place(Res.Place place) { fillPlace(place); return(place); }