// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // Scan Progress Event Args // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrake.ApplicationServices.EventArgs { using System; using System.Runtime.Serialization; /// /// Scan Progress Event Args /// [DataContractAttribute] public class ScanCompletedEventArgs : EventArgs { /// /// Initializes a new instance of the class. /// /// /// The sucessful. /// /// /// The exception. /// /// /// The error information. /// public ScanCompletedEventArgs(bool sucessful, Exception exception, string errorInformation) { this.Successful = sucessful; this.Exception = exception; this.ErrorInformation = errorInformation; } /// /// Gets or sets a value indicating whether Successful. /// [DataMember] public bool Successful { get; set; } /// /// Gets or sets Exception. /// [DataMember] public Exception Exception { get; set; } /// /// Gets or sets ErrorInformation. /// [DataMember] public string ErrorInformation { get; set; } } }