/// <summary> /// Initializes a new instance of the <see cref="PatcherComponentState" /> class. /// </summary> /// <param name="Action">Action.</param> /// <param name="Id">Id.</param> /// <param name="IsCorrupted">IsCorrupted.</param> /// <param name="IsUpToDate">IsUpToDate.</param> /// <param name="IsUpdateAvailable">IsUpdateAvailable.</param> /// <param name="Progress">Progress.</param> /// <param name="TimeOfLastUpToDateCheckISO8601">TimeOfLastUpToDateCheckISO8601.</param> public PatcherComponentState(PatcherComponentStateAction Action = default(PatcherComponentStateAction), string Id = default(string), bool?IsCorrupted = default(bool?), bool?IsUpToDate = default(bool?), bool?IsUpdateAvailable = default(bool?), PatcherComponentActionProgress Progress = default(PatcherComponentActionProgress), string TimeOfLastUpToDateCheckISO8601 = default(string)) { this.Action = Action; this.Id = Id; this.IsCorrupted = IsCorrupted; this.IsUpToDate = IsUpToDate; this.IsUpdateAvailable = IsUpdateAvailable; this.Progress = Progress; this.TimeOfLastUpToDateCheckISO8601 = TimeOfLastUpToDateCheckISO8601; }
/// <summary> /// Initializes a new instance of the <see cref="PatcherProductState" /> class. /// </summary> /// <param name="Action">Action.</param> /// <param name="Components">Components.</param> /// <param name="Id">Id.</param> /// <param name="IsCorrupted">IsCorrupted.</param> /// <param name="IsStopped">IsStopped.</param> /// <param name="IsUpToDate">IsUpToDate.</param> /// <param name="IsUpdateAvailable">IsUpdateAvailable.</param> /// <param name="PercentPatched">PercentPatched.</param> public PatcherProductState(PatcherComponentStateAction Action = default(PatcherComponentStateAction), List <PatcherComponentState> Components = default(List <PatcherComponentState>), string Id = default(string), bool?IsCorrupted = default(bool?), bool?IsStopped = default(bool?), bool?IsUpToDate = default(bool?), bool?IsUpdateAvailable = default(bool?), double?PercentPatched = default(double?)) { this.Action = Action; this.Components = Components; this.Id = Id; this.IsCorrupted = IsCorrupted; this.IsStopped = IsStopped; this.IsUpToDate = IsUpToDate; this.IsUpdateAvailable = IsUpdateAvailable; this.PercentPatched = PercentPatched; }