/// <summary> /// Initializes a new instance of the <see cref="BuildingChecksPresetInfo" /> class. /// </summary> /// <param name="buildingCheckOrder">The building check order preset.</param> public BuildingChecksPresetInfo(BuildingCheckOrder buildingCheckOrder) { this.Identifier = buildingCheckOrder; this.Name = Settings.GetBuildingCheckOrderName(buildingCheckOrder); this.Description = Settings.GetBuildingCheckOrderDescription(buildingCheckOrder); this.BuildingChecks = Settings.GetBuildingChecksParameters(this.Identifier); }
/// <summary> /// Initializes a new instance of the <see cref="BuildingChecksPresetInfo" /> class. /// </summary> /// <param name="buildingCheckOrder">The building check order preset.</param> public BuildingChecksPresetInfo(BuildingCheckOrder buildingCheckOrder) { this.Identifier = buildingCheckOrder; this.Name = Settings.GetBuildingCheckOrderName(buildingCheckOrder); this.Description = Settings.GetBuildingCheckOrderDescription(buildingCheckOrder); this.BuildingChecks = Settings.GetBuildingChecksParameters(this.Identifier); }
/// <summary> /// Initializes a new instance of the <see cref="BuildingChecksPresetInfo"/> class. /// </summary> public BuildingChecksPresetInfo() { this.Identifier = ServiceDispatcherSettings.BuildingCheckOrder.Custom; this.BuildingChecks = new BuildingCheckParameters[] { BuildingCheckParameters.Any }; }
/// <summary> /// Initializes a new instance of the <see cref="BuildingChecksPresetInfo"/> class. /// </summary> public BuildingChecksPresetInfo() { this.Identifier = ServiceDispatcherSettings.BuildingCheckOrder.Custom; this.BuildingChecks = new BuildingCheckParameters[] { BuildingCheckParameters.Any }; }