diff options
Diffstat (limited to 'win/C#/interop/Model/EncodeJob.cs')
-rw-r--r-- | win/C#/interop/Model/EncodeJob.cs | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/win/C#/interop/Model/EncodeJob.cs b/win/C#/interop/Model/EncodeJob.cs index 6ae23c7c5..d454c6b30 100644 --- a/win/C#/interop/Model/EncodeJob.cs +++ b/win/C#/interop/Model/EncodeJob.cs @@ -14,9 +14,19 @@ namespace HandBrake.Interop.Model using System.Xml.Serialization;
using Encoding;
+ /// <summary>
+ /// An Encode Job
+ /// </summary>
public class EncodeJob
{
+ /// <summary>
+ /// Gets or sets SourceType.
+ /// </summary>
public SourceType SourceType { get; set; }
+
+ /// <summary>
+ /// Gets or sets SourcePath.
+ /// </summary>
public string SourcePath { get; set; }
/// <summary>
@@ -28,25 +38,56 @@ namespace HandBrake.Interop.Model /// Gets or sets the angle to encode. 0 for default, 1+ for specified angle.
/// </summary>
public int Angle { get; set; }
+
+ /// <summary>
+ /// Gets or sets ChapterStart.
+ /// </summary>
public int ChapterStart { get; set; }
+
+ /// <summary>
+ /// Gets or sets ChapterEnd.
+ /// </summary>
public int ChapterEnd { get; set; }
/// <summary>
/// Gets or sets the list of chosen audio tracks (1-based)
/// </summary>
public List<int> ChosenAudioTracks { get; set; }
+
+ /// <summary>
+ /// Gets or sets Subtitles.
+ /// </summary>
public Subtitles Subtitles { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether UseDefaultChapterNames.
+ /// </summary>
public bool UseDefaultChapterNames { get; set; }
+
+ /// <summary>
+ /// Gets or sets CustomChapterNames.
+ /// </summary>
public List<string> CustomChapterNames { get; set; }
+ /// <summary>
+ /// Gets or sets OutputPath.
+ /// </summary>
public string OutputPath { get; set; }
+ /// <summary>
+ /// Gets or sets EncodingProfile.
+ /// </summary>
public EncodingProfile EncodingProfile { get; set; }
- // The length of video to encode.
+ /// <summary>
+ /// The length of video to encode.
+ /// </summary>
[XmlIgnore]
public TimeSpan Length { get; set; }
+ /// <summary>
+ /// Gets or sets XmlLength.
+ /// </summary>
[XmlElement("Length")]
public string XmlLength
{
@@ -54,6 +95,12 @@ namespace HandBrake.Interop.Model set { this.Length = TimeSpan.Parse(value); }
}
+ /// <summary>
+ /// Clone the Encode Job
+ /// </summary>
+ /// <returns>
+ /// An EncodeJob Ojbect
+ /// </returns>
public EncodeJob Clone()
{
EncodeJob clone = new EncodeJob
|