public StructureArea(BasicDescriptor descriptor) { #region Precondizioni if (descriptor == null) { throw new ArgumentException("descriptor null"); } #endregion _descriptor = descriptor; _sectors = new List <Sector>(); }
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; }
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; }