/// <summary> /// /// </summary> /// <param name="otherList"></param> /// <returns></returns> public NoDuplicateList <T> AddNoDuplicateList(NoDuplicateList <T> otherList) { foreach (var element in otherList) { Add(element); } return(this); }
public Elements() { Zones = new NoDuplicateList <Zone>(); ZoneLists = new NoDuplicateList <ZoneList>(); BuildingSurfaces = new NoDuplicateList <BuildingSurface>(); FenestrationSurfaces = new NoDuplicateList <FenestrationSurface>(); ShadingSurfaces = new NoDuplicateList <ShadingSurface>(); ShadingOverhangs = new NoDuplicateList <ShadingOverhang>(); Materials = new NoDuplicateList <Material>(); Constructions = new NoDuplicateList <Construction>(); Lights = new NoDuplicateList <Lights>(); Peoples = new NoDuplicateList <People>(); ElectricEquipments = new NoDuplicateList <ElectricEquipment>(); Thermostats = new NoDuplicateList <Thermostat>(); }