Exemplo n.º 1
0
 public StructureArea(BasicDescriptor descriptor)
 {
     #region Precondizioni
     if (descriptor == null)
     {
         throw new ArgumentException("descriptor null");
     }
     #endregion
     _descriptor = descriptor;
     _sectors    = new List <Sector>();
 }
Exemplo n.º 2
0
 public StructureArea(BasicDescriptor descriptor, IEnumerable <Sector> sectors)
 {
     #region Precondizioni
     if (descriptor == null)
     {
         throw new ArgumentException("descriptor null");
     }
     if (sectors == null)
     {
         throw new ArgumentException("areas null");
     }
     #endregion
     _descriptor = descriptor;
     _sectors    = sectors;
 }
Exemplo n.º 3
0
 public Structure(BasicDescriptor descriptor, IEnumerable <StructureArea> areas)
 {
     #region Precondizioni
     if (descriptor == null)
     {
         throw new ArgumentException("descriptor null");
     }
     if (areas == null)
     {
         throw new ArgumentException("areas null");
     }
     #endregion
     _descriptor = descriptor;
     _areas      = areas;
 }