// IMMUTABLE - all fields are readonly, all variables are immutable // A configuration is a set of information about a skyline file, data, reports and scripts. // To be a valid configuration, it must contain enough of this information to run a batch // script that will copy the skyline file, import data, export reports, and run r scripts. public SkylineBatchConfig(string name, DateTime created, DateTime modified, MainSettings mainSettings, ReportSettings reportSettings, SkylineSettings skylineSettings) { if (string.IsNullOrEmpty(name)) { throw new ArgumentException(Resources.SkylineBatchConfig_Please_enter_a_name_for_the_configuration_); } Name = name; Created = created; Modified = modified; MainSettings = mainSettings; ReportSettings = reportSettings; SkylineSettings = skylineSettings; }