Esempio n. 1
0
 public void AddSubRegion(Region subRegion)
 {
     if (!SubRegions.Contains(subRegion))
     {
         SubRegions.Add(subRegion);
     }
 }
Esempio n. 2
0
        public override void AddReference(ModelCode referenceId, long globalId)
        {
            switch (referenceId)
            {
            case ModelCode.SUBREGION_REGION:
                SubRegions.Add(globalId);
                break;

            default:
                base.AddReference(referenceId, globalId);
                break;
            }
        }