// -------------------------------------------------------------------------------------------------------------------- // // 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; using System.Runtime.Serialization; /// /// Encode Progress Event Args /// [DataContractAttribute] public class EncodeProgressEventArgs : EventArgs { /// /// Gets or sets PercentComplete. /// [DataMember] public float PercentComplete { get; set; } /// /// Gets or sets CurrentFrameRate. /// [DataMember] public float CurrentFrameRate { get; set; } /// /// Gets or sets AverageFrameRate. /// [DataMember] public float AverageFrameRate { get; set; } /// /// Gets or sets EstimatedTimeLeft. /// [DataMember] public TimeSpan EstimatedTimeLeft { get; set; } /// /// Gets or sets Task. /// [DataMember] public int Task { get; set; } /// /// Gets or sets TaskCount. /// [DataMember] public int TaskCount { get; set; } /// /// Gets or sets ElapsedTime. /// [DataMember] public TimeSpan ElapsedTime { get; set; } } }