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