Example #1
0
 private void AddRegionIfExists(CIASection section, CIARegion ciaRegion)
 {
     if (ciaRegion.Size != 0)
     {
         this.Regions[section] = ciaRegion;
     }
 }
Example #2
0
 public static void AddIfExists(this List <CIARegion> list, CIARegion region)
 {
     if (region.Size != 0)
     {
         list.Add(region);
     }
 }