OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 4 Jun 2010 21:19:13 +0000 (21:19 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 4 Jun 2010 21:19:13 +0000 (21:19 +0000)
#interop
- Missing documentation headers + stylecop tweaks / cleanup

git-svn-id: svn://localhost/HandBrake/trunk@3356 b64f7644-9d1e-0410-96f1-a4d463321fa5

29 files changed:
win/C#/interop/EncodeProgressEventArgs.cs
win/C#/interop/HbLib.cs
win/C#/interop/Model/Cropping.cs
win/C#/interop/Model/EncodeJob.cs
win/C#/interop/Model/Encoding/Anamorphic.cs
win/C#/interop/Model/Encoding/AudioEncoder.cs
win/C#/interop/Model/Encoding/AudioEncoding.cs
win/C#/interop/Model/Encoding/Decomb.cs
win/C#/interop/Model/Encoding/Deinterlace.cs
win/C#/interop/Model/Encoding/Denoise.cs
win/C#/interop/Model/Encoding/Detelecine.cs
win/C#/interop/Model/Encoding/EncodingProfile.cs
win/C#/interop/Model/Encoding/Mixdown.cs
win/C#/interop/Model/Encoding/OutputExtension.cs
win/C#/interop/Model/Encoding/OutputFormat.cs
win/C#/interop/Model/Encoding/VideoEncodeRateType.cs
win/C#/interop/Model/Encoding/VideoEncoder.cs
win/C#/interop/Model/Size.cs
win/C#/interop/Model/SourceSubtitle.cs
win/C#/interop/Model/SourceType.cs
win/C#/interop/Model/SrtSubtitle.cs
win/C#/interop/Model/Subtitles.cs
win/C#/interop/ScanProgressEventArgs.cs
win/C#/interop/Settings.StyleCop
win/C#/interop/SourceData/AudioTrack.cs
win/C#/interop/SourceData/Chapter.cs
win/C#/interop/SourceData/Subtitle.cs
win/C#/interop/SourceData/SubtitleType.cs
win/C#/interop/SourceData/Title.cs

index 9ebcada..7241104 100644 (file)
@@ -11,12 +11,34 @@ namespace HandBrake.Interop
 {\r
     using System;\r
 \r
+    /// <summary>\r
+    /// Encode Progress Event Arguments\r
+    /// </summary>\r
     public class EncodeProgressEventArgs : EventArgs\r
     {\r
+        /// <summary>\r
+        /// Gets or sets FractionComplete.\r
+        /// </summary>\r
         public float FractionComplete { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets CurrentFrameRate.\r
+        /// </summary>\r
         public float CurrentFrameRate { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets AverageFrameRate.\r
+        /// </summary>\r
         public float AverageFrameRate { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets EstimatedTimeLeft.\r
+        /// </summary>\r
         public TimeSpan EstimatedTimeLeft { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Pass.\r
+        /// </summary>\r
         public int Pass { get; set; }\r
     }\r
 }\r
index 7a5e420..80a52ef 100644 (file)
@@ -14,38 +14,38 @@ namespace HandBrake.Interop
 \r
     internal partial class NativeConstants\r
     {\r
-        public const int HB_ACODEC_MASK =   0x00FF00;\r
-        public const int HB_ACODEC_FAAC =   0x000100;\r
-        public const int HB_ACODEC_LAME =   0x000200;\r
+        public const int HB_ACODEC_MASK = 0x00FF00;\r
+        public const int HB_ACODEC_FAAC = 0x000100;\r
+        public const int HB_ACODEC_LAME = 0x000200;\r
         public const int HB_ACODEC_VORBIS = 0x000400;\r
-        public const int HB_ACODEC_AC3 =    0x000800;\r
-        public const int HB_ACODEC_MPGA =   0x001000;\r
-        public const int HB_ACODEC_LPCM =   0x002000;\r
-        public const int HB_ACODEC_DCA =    0x004000;\r
+        public const int HB_ACODEC_AC3 = 0x000800;\r
+        public const int HB_ACODEC_MPGA = 0x001000;\r
+        public const int HB_ACODEC_LPCM = 0x002000;\r
+        public const int HB_ACODEC_DCA = 0x004000;\r
         public const int HB_ACODEC_FFMPEG = 0x008000;\r
         public const int HB_ACODEC_CA_AAC = 0x010000;\r
 \r
-        public const int HB_AMIXDOWN_DCA_FORMAT_MASK =              0x00FFF000;\r
-        public const int HB_AMIXDOWN_A52_FORMAT_MASK =              0x00000FF0;\r
-        public const int HB_AMIXDOWN_DISCRETE_CHANNEL_COUNT_MASK =  0x0000000F;\r
-        public const int HB_AMIXDOWN_MONO =                         0x01000001;\r
-        public const int HB_AMIXDOWN_STEREO =                       0x02002022;\r
-        public const int HB_AMIXDOWN_DOLBY =                        0x042070A2;\r
-        public const int HB_AMIXDOWN_DOLBYPLII =                    0x084094A2;\r
-        public const int HB_AMIXDOWN_6CH =                          0x10089176;\r
+        public const int HB_AMIXDOWN_DCA_FORMAT_MASK = 0x00FFF000;\r
+        public const int HB_AMIXDOWN_A52_FORMAT_MASK = 0x00000FF0;\r
+        public const int HB_AMIXDOWN_DISCRETE_CHANNEL_COUNT_MASK = 0x0000000F;\r
+        public const int HB_AMIXDOWN_MONO = 0x01000001;\r
+        public const int HB_AMIXDOWN_STEREO = 0x02002022;\r
+        public const int HB_AMIXDOWN_DOLBY = 0x042070A2;\r
+        public const int HB_AMIXDOWN_DOLBYPLII = 0x084094A2;\r
+        public const int HB_AMIXDOWN_6CH = 0x10089176;\r
 \r
-        public const int HB_VCODEC_MASK =   0x0000FF;\r
+        public const int HB_VCODEC_MASK = 0x0000FF;\r
         public const int HB_VCODEC_FFMPEG = 0x000001;\r
-        public const int HB_VCODEC_X264 =   0x000002;\r
+        public const int HB_VCODEC_X264 = 0x000002;\r
         public const int HB_VCODEC_THEORA = 0x000004;\r
 \r
-        public const int HB_MUX_MASK =  0xFF0000;\r
-        public const int HB_MUX_MP4 =   0x010000;\r
-        public const int HB_MUX_PSP =   0x020000;\r
-        public const int HB_MUX_AVI =   0x040000;\r
-        public const int HB_MUX_OGM =   0x080000;\r
-        public const int HB_MUX_IPOD =  0x100000;\r
-        public const int HB_MUX_MKV =   0x200000;\r
+        public const int HB_MUX_MASK = 0xFF0000;\r
+        public const int HB_MUX_MP4 = 0x010000;\r
+        public const int HB_MUX_PSP = 0x020000;\r
+        public const int HB_MUX_AVI = 0x040000;\r
+        public const int HB_MUX_OGM = 0x080000;\r
+        public const int HB_MUX_IPOD = 0x100000;\r
+        public const int HB_MUX_MKV = 0x200000;\r
 \r
         public const int HBTF_NO_IDR = 1 << 0;\r
 \r
@@ -63,14 +63,14 @@ namespace HandBrake.Interop
 \r
         public const int AUDIO_F_DOLBY = 1 << 31;\r
 \r
-        public const int HB_FRAME_IDR =     0x01;\r
-        public const int HB_FRAME_I =       0x02;\r
-        public const int HB_FRAME_AUDIO =   0x04;\r
-        public const int HB_FRAME_P =       0x10;\r
-        public const int HB_FRAME_B =       0x20;\r
-        public const int HB_FRAME_BREF =    0x40;\r
-        public const int HB_FRAME_KEY =     0x0F;\r
-        public const int HB_FRAME_REF =     0xF0;\r
+        public const int HB_FRAME_IDR = 0x01;\r
+        public const int HB_FRAME_I = 0x02;\r
+        public const int HB_FRAME_AUDIO = 0x04;\r
+        public const int HB_FRAME_P = 0x10;\r
+        public const int HB_FRAME_B = 0x20;\r
+        public const int HB_FRAME_BREF = 0x40;\r
+        public const int HB_FRAME_KEY = 0x0F;\r
+        public const int HB_FRAME_REF = 0xF0;\r
 \r
         public const int HB_CONFIG_MAX_SIZE = 8192;\r
 \r
@@ -128,8 +128,7 @@ namespace HandBrake.Interop
         public int chapter_markers;\r
 \r
         /// int[4]\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType = UnmanagedType.I4)]\r
-        public int[] crop;\r
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType = UnmanagedType.I4)] public int[] crop;\r
 \r
         /// int\r
         public int deinterlace;\r
@@ -192,7 +191,6 @@ namespace HandBrake.Interop
         /// char*\r
         //[MarshalAs(UnmanagedType.LPStr)]\r
         //public string x264opts;\r
-\r
         public IntPtr x264opts;\r
 \r
         /// int\r
@@ -211,8 +209,7 @@ namespace HandBrake.Interop
         public int mux;\r
 \r
         /// char*\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        public string file;\r
+        [MarshalAs(UnmanagedType.LPStr)] public string file;\r
 \r
         /// int\r
         public int largeFileSize;\r
@@ -252,8 +249,7 @@ namespace HandBrake.Interop
         public uint frames_to_skip;\r
 \r
         // Padding for the part of the struct we don't care about marshaling.\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 24644, ArraySubType = UnmanagedType.U1)]\r
-        public byte[] padding;\r
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 24644, ArraySubType = UnmanagedType.U1)] public byte[] padding;\r
     }\r
 \r
     [StructLayout(LayoutKind.Sequential)]\r
@@ -273,8 +269,7 @@ namespace HandBrake.Interop
     internal struct hb_rate_s\r
     {\r
         /// char*\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        public string @string;\r
+        [MarshalAs(UnmanagedType.LPStr)] public string @string;\r
 \r
         /// int\r
         public int rate;\r
@@ -289,8 +284,7 @@ namespace HandBrake.Interop
         public int build;\r
 \r
         /// char[32]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]\r
-        public string version;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] public string version;\r
 \r
         /// hb_thread_t*\r
         public IntPtr update_thread;\r
@@ -393,8 +387,7 @@ namespace HandBrake.Interop
         public ulong duration;\r
 \r
         /// char[1024]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]\r
-        public string title;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)] public string title;\r
     }\r
 \r
     internal enum hb_subtitle_s_subtype\r
@@ -438,18 +431,15 @@ namespace HandBrake.Interop
         public hb_subtitle_s_subsource source;\r
 \r
         /// char[1024]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]\r
-        public string lang;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)] public string lang;\r
 \r
         /// char[4]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]\r
-        public string iso639_2;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)] public string iso639_2;\r
 \r
         /// uint8_t->unsigned char\r
         public byte type;\r
 \r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 16, ArraySubType = UnmanagedType.U4)]\r
-        public uint[] palette;\r
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 16, ArraySubType = UnmanagedType.U4)] public uint[] palette;\r
 \r
         public int width;\r
 \r
@@ -481,32 +471,25 @@ namespace HandBrake.Interop
     internal struct hb_metadata_s\r
     {\r
         /// char[255]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]\r
-        public string name;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)] public string name;\r
 \r
         /// char[255]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]\r
-        public string artist;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)] public string artist;\r
 \r
         /// char[255]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]\r
-        public string composer;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)] public string composer;\r
 \r
         /// char[255]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]\r
-        public string release_date;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)] public string release_date;\r
 \r
         /// char[1024]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]\r
-        public string comment;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)] public string comment;\r
 \r
         /// char[255]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]\r
-        public string album;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)] public string album;\r
 \r
         /// char[255]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]\r
-        public string genre;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)] public string genre;\r
 \r
         /// uint32_t->unsigned int\r
         public uint coverart_size;\r
@@ -539,12 +522,10 @@ namespace HandBrake.Interop
         public Anonymous_990d28ea_6cf3_4fbc_8143_4df9513e9550 type;\r
 \r
         /// char[1024]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]\r
-        public string dvd;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)] public string dvd;\r
 \r
         /// char[1024]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]\r
-        public string name;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)] public string name;\r
 \r
         //public fixed byte dvd[1024];\r
 \r
@@ -614,8 +595,7 @@ namespace HandBrake.Interop
         public int rate_base;\r
 \r
         /// int[4]\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType = UnmanagedType.I4)]\r
-        public int[] crop;\r
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType = UnmanagedType.I4)] public int[] crop;\r
 \r
         //public fixed int crop[4];\r
 \r
@@ -723,25 +703,21 @@ namespace HandBrake.Interop
     [StructLayout(LayoutKind.Explicit)]\r
     internal struct hb_state_param_u\r
     {\r
-        [FieldOffset(0)]\r
-        public hb_state_scanning_s scanning;\r
+        [FieldOffset(0)] public hb_state_scanning_s scanning;\r
 \r
-        [FieldOffset(0)]\r
-        public hb_state_working_s working;\r
+        [FieldOffset(0)] public hb_state_working_s working;\r
 \r
-        [FieldOffset(0)]\r
-        public hb_state_workdone_s workdone;\r
+        [FieldOffset(0)] public hb_state_workdone_s workdone;\r
 \r
-        [FieldOffset(0)]\r
-        public hb_state_muxing_s muxing;\r
+        [FieldOffset(0)] public hb_state_muxing_s muxing;\r
     }\r
 \r
     [StructLayout(LayoutKind.Sequential)]\r
     internal struct hb_state_s\r
     {\r
-\r
         /// int\r
         public int state;\r
+\r
         public hb_state_param_u param;\r
     }\r
 \r
@@ -755,8 +731,7 @@ namespace HandBrake.Interop
         public hb_audio_config_s config;\r
 \r
         // Padding for the part of the struct we don't care about marshaling.\r
-        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 24600, ArraySubType = UnmanagedType.U1)]\r
-        public byte[] padding;\r
+        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 24600, ArraySubType = UnmanagedType.U1)] public byte[] padding;\r
 \r
         /// Anonymous_e6c7b779_b5a3_4e80_9fa8_13619d14f545\r
         //public Anonymous_e6c7b779_b5a3_4e80_9fa8_13619d14f545 priv;\r
@@ -796,8 +771,7 @@ namespace HandBrake.Interop
         public double dynamic_range_compression;\r
 \r
         /// char*\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        public string name;\r
+        [MarshalAs(UnmanagedType.LPStr)] public string name;\r
     }\r
 \r
     [StructLayout(LayoutKind.Sequential)]\r
@@ -832,28 +806,23 @@ namespace HandBrake.Interop
     internal struct Anonymous_a0a59d69_d9a4_4003_a198_f7c51511e31d\r
     {\r
         /// int\r
-        [FieldOffset(0)]\r
-        public int ac3;\r
+        [FieldOffset(0)] public int ac3;\r
 \r
         /// int\r
-        [FieldOffset(0)]\r
-        public int dca;\r
+        [FieldOffset(0)] public int dca;\r
     }\r
 \r
     [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]\r
     internal struct hb_audio_config_lang_s\r
     {\r
         /// char[1024]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]\r
-        public string description;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)] public string description;\r
 \r
         /// char[1024]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]\r
-        public string simple;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)] public string simple;\r
 \r
         /// char[4]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]\r
-        public string iso639_2;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)] public string iso639_2;\r
 \r
         /// uint8_t->unsigned char\r
         public byte type;\r
@@ -863,16 +832,13 @@ namespace HandBrake.Interop
     internal struct hb_mixdown_s\r
     {\r
         /// char*\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        public string human_readable_name;\r
+        [MarshalAs(UnmanagedType.LPStr)] public string human_readable_name;\r
 \r
         /// char*\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        public string internal_name;\r
+        [MarshalAs(UnmanagedType.LPStr)] public string internal_name;\r
 \r
         /// char*\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        public string short_name;\r
+        [MarshalAs(UnmanagedType.LPStr)] public string short_name;\r
 \r
         /// int\r
         public int amixdown;\r
@@ -898,12 +864,10 @@ namespace HandBrake.Interop
         public int default_track;\r
 \r
         /// char[128]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)]\r
-        public string src_filename;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] public string src_filename;\r
 \r
         /// char[40]\r
-        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 40)]\r
-        public string src_codeset;\r
+        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 40)] public string src_codeset;\r
 \r
         /// int64_t->int\r
         public long offset;\r
@@ -946,8 +910,7 @@ namespace HandBrake.Interop
         public int alloc;\r
 \r
         /// uint8_t*\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        public string data;\r
+        [MarshalAs(UnmanagedType.LPStr)] public string data;\r
 \r
         /// int\r
         public int cur;\r
@@ -1044,8 +1007,7 @@ namespace HandBrake.Interop
     internal struct hb_thread_s\r
     {\r
         /// char*\r
-        [MarshalAs(UnmanagedType.LPStr)]\r
-        public string name;\r
+        [MarshalAs(UnmanagedType.LPStr)] public string name;\r
 \r
         /// int\r
         public int priority;\r
@@ -1146,7 +1108,8 @@ namespace HandBrake.Interop
         ///preview_count: int\r
         ///store_previews: int\r
         [DllImport("hb.dll", EntryPoint = "hb_scan", CallingConvention = CallingConvention.Cdecl)]\r
-        public static extern void hb_scan(IntPtr hbHandle, [In] [MarshalAs(UnmanagedType.LPStr)] string path, int title_index, int preview_count, int store_previews);\r
+        public static extern void hb_scan(IntPtr hbHandle, [In] [MarshalAs(UnmanagedType.LPStr)] string path,\r
+                                          int title_index, int preview_count, int store_previews);\r
 \r
 \r
         /// Return Type: hb_list_t*\r
@@ -1166,7 +1129,9 @@ namespace HandBrake.Interop
         ///prog_diff: int\r
         ///prog_threshold: int\r
         [DllImport("hb.dll", EntryPoint = "hb_detect_comb", CallingConvention = CallingConvention.Cdecl)]\r
-        public static extern int hb_detect_comb(ref hb_buffer_s buf, int width, int height, int color_equal, int color_diff, int threshold, int prog_equal, int prog_diff, int prog_threshold);\r
+        public static extern int hb_detect_comb(ref hb_buffer_s buf, int width, int height, int color_equal,\r
+                                                int color_diff, int threshold, int prog_equal, int prog_diff,\r
+                                                int prog_threshold);\r
 \r
         [DllImport("hb.dll", EntryPoint = "hb_get_preview_by_index", CallingConvention = CallingConvention.Cdecl)]\r
         public static extern void hb_get_preview_by_index(IntPtr hbHandle, int title_index, int picture, IntPtr buffer);\r
@@ -1187,8 +1152,11 @@ namespace HandBrake.Interop
         [DllImport("hb.dll", EntryPoint = "hb_set_size", CallingConvention = CallingConvention.Cdecl)]\r
         public static extern void hb_set_size(ref hb_job_s param0, double ratio, int pixels);\r
 \r
-        [DllImport("hb.dll", EntryPoint = "hb_set_anamorphic_size_by_index", CallingConvention = CallingConvention.Cdecl)]\r
-        public static extern void hb_set_anamorphic_size_by_index(IntPtr hbHandle, int title_index, ref int output_width, ref int output_height, ref int output_par_width, ref int output_par_height);\r
+        [DllImport("hb.dll", EntryPoint = "hb_set_anamorphic_size_by_index", CallingConvention = CallingConvention.Cdecl\r
+            )]\r
+        public static extern void hb_set_anamorphic_size_by_index(IntPtr hbHandle, int title_index, ref int output_width,\r
+                                                                  ref int output_height, ref int output_par_width,\r
+                                                                  ref int output_par_height);\r
 \r
         /// Return Type: void\r
         ///param0: hb_job_t*\r
@@ -1197,7 +1165,8 @@ namespace HandBrake.Interop
         ///output_par_width: int*\r
         ///output_par_height: int*\r
         [DllImport("hb.dll", EntryPoint = "hb_set_anamorphic_size", CallingConvention = CallingConvention.Cdecl)]\r
-        public static extern void hb_set_anamorphic_size(ref hb_job_s job, ref int output_width, ref int output_height, ref int output_par_width, ref int output_par_height);\r
+        public static extern void hb_set_anamorphic_size(ref hb_job_s job, ref int output_width, ref int output_height,\r
+                                                         ref int output_par_width, ref int output_par_height);\r
 \r
 \r
         /// Return Type: int\r
@@ -1213,7 +1182,8 @@ namespace HandBrake.Interop
         public static extern IntPtr hb_job(IntPtr hbHandle, int jobIndex);\r
 \r
         [DllImport("hb.dll", EntryPoint = "hb_set_chapter_name", CallingConvention = CallingConvention.Cdecl)]\r
-        public static extern void hb_set_chapter_name(IntPtr hbHandle, int title_index, int chapter_index, [In] [MarshalAs(UnmanagedType.LPStr)] string chapter_name);\r
+        public static extern void hb_set_chapter_name(IntPtr hbHandle, int title_index, int chapter_index,\r
+                                                      [In] [MarshalAs(UnmanagedType.LPStr)] string chapter_name);\r
 \r
         [DllImport("hb.dll", EntryPoint = "hb_set_job", CallingConvention = CallingConvention.Cdecl)]\r
         public static extern void hb_set_job(IntPtr hbHandle, int title_index, ref hb_job_s job);\r
@@ -1287,4 +1257,4 @@ namespace HandBrake.Interop
         [DllImport("hb.dll", EntryPoint = "hb_global_close", CallingConvention = CallingConvention.Cdecl)]\r
         public static extern void hb_global_close();\r
     }\r
-}\r
+}
\ No newline at end of file
index e717e7e..e0a0806 100644 (file)
@@ -9,11 +9,29 @@
 \r
 namespace HandBrake.Interop.Model\r
 {\r
+    /// <summary>\r
+    /// Cropping T B L R\r
+    /// </summary>\r
     public class Cropping\r
     {\r
+        /// <summary>\r
+        /// Gets or sets Top.\r
+        /// </summary>\r
         public int Top { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Bottom.\r
+        /// </summary>\r
         public int Bottom { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Left.\r
+        /// </summary>\r
         public int Left { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Right.\r
+        /// </summary>\r
         public int Right { get; set; }\r
     }\r
 }\r
index 6ae23c7..d454c6b 100644 (file)
@@ -14,9 +14,19 @@ namespace HandBrake.Interop.Model
     using System.Xml.Serialization;\r
     using Encoding;\r
 \r
+    /// <summary>\r
+    /// An Encode Job\r
+    /// </summary>\r
     public class EncodeJob\r
     {\r
+        /// <summary>\r
+        /// Gets or sets SourceType.\r
+        /// </summary>\r
         public SourceType SourceType { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets SourcePath.\r
+        /// </summary>\r
         public string SourcePath { get; set; }\r
 \r
         /// <summary>\r
@@ -28,25 +38,56 @@ namespace HandBrake.Interop.Model
         /// Gets or sets the angle to encode. 0 for default, 1+ for specified angle.\r
         /// </summary>\r
         public int Angle { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets ChapterStart.\r
+        /// </summary>\r
         public int ChapterStart { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets ChapterEnd.\r
+        /// </summary>\r
         public int ChapterEnd { get; set; }\r
 \r
         /// <summary>\r
         /// Gets or sets the list of chosen audio tracks (1-based)\r
         /// </summary>\r
         public List<int> ChosenAudioTracks { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Subtitles.\r
+        /// </summary>\r
         public Subtitles Subtitles { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets a value indicating whether UseDefaultChapterNames.\r
+        /// </summary>\r
         public bool UseDefaultChapterNames { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets CustomChapterNames.\r
+        /// </summary>\r
         public List<string> CustomChapterNames { get; set; }\r
 \r
+        /// <summary>\r
+        /// Gets or sets OutputPath.\r
+        /// </summary>\r
         public string OutputPath { get; set; }\r
 \r
+        /// <summary>\r
+        /// Gets or sets EncodingProfile.\r
+        /// </summary>\r
         public EncodingProfile EncodingProfile { get; set; }\r
 \r
-        // The length of video to encode.\r
+        /// <summary>\r
+        /// The length of video to encode.\r
+        /// </summary>\r
         [XmlIgnore]\r
         public TimeSpan Length { get; set; }\r
 \r
+        /// <summary>\r
+        /// Gets or sets XmlLength.\r
+        /// </summary>\r
         [XmlElement("Length")]\r
         public string XmlLength\r
         {\r
@@ -54,6 +95,12 @@ namespace HandBrake.Interop.Model
             set { this.Length = TimeSpan.Parse(value); }\r
         }\r
 \r
+        /// <summary>\r
+        /// Clone the Encode Job\r
+        /// </summary>\r
+        /// <returns>\r
+        /// An EncodeJob Ojbect\r
+        /// </returns>\r
         public EncodeJob Clone()\r
         {\r
             EncodeJob clone = new EncodeJob\r
index 0d62060..1a7302d 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Anamorphic Modes\r
+    /// </summary>\r
     public enum Anamorphic\r
     {\r
         [DisplayString("None")]\r
index 4a3a251..a9efed8 100644 (file)
@@ -8,6 +8,9 @@
 // --------------------------------------------------------------------------------------------------------------------\r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Audio Encoder\r
+    /// </summary>\r
     public enum AudioEncoder\r
     {\r
         [DisplayString("AAC (faac)")]\r
index e9f8ad7..a957e23 100644 (file)
@@ -9,13 +9,39 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Audio Encoding\r
+    /// </summary>\r
     public class AudioEncoding\r
     {\r
+        /// <summary>\r
+        /// Gets or sets InputNumber.\r
+        /// </summary>\r
         public int InputNumber { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Encoder.\r
+        /// </summary>\r
         public AudioEncoder Encoder { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Bitrate.\r
+        /// </summary>\r
         public int Bitrate { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Mixdown.\r
+        /// </summary>\r
         public Mixdown Mixdown { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets SampleRate.\r
+        /// </summary>\r
         public string SampleRate { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Drc.\r
+        /// </summary>\r
         public double Drc { get; set; }\r
     }\r
 }\r
index 55c17d8..966a2c1 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Decomb Mode. Off, Default or Custom\r
+    /// </summary>\r
     public enum Decomb\r
     {\r
         Off = 0,\r
index d7ed94b..1ef4acb 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Delinterlace Mode\r
+    /// </summary>\r
     public enum Deinterlace\r
     {\r
         Off = 0,\r
index 6d97eca..526d37d 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Denose Mode\r
+    /// </summary>\r
     public enum Denoise\r
     {\r
         Off = 0,\r
index fa0c3e7..7380a94 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Detelecine Modes\r
+    /// </summary>\r
     public enum Detelecine\r
     {\r
         Off = 0,\r
index 09a94d7..e7d4e81 100644 (file)
@@ -10,6 +10,9 @@ namespace HandBrake.Interop.Model.Encoding
 {\r
     using System.Collections.Generic;\r
 \r
+    /// <summary>\r
+    /// Encode Profiles\r
+    /// </summary>\r
     public class EncodingProfile\r
     {\r
         public EncodingProfile()\r
@@ -61,6 +64,12 @@ namespace HandBrake.Interop.Model.Encoding
 \r
         public List<AudioEncoding> AudioEncodings { get; set; }\r
 \r
+        /// <summary>\r
+        /// Clone this encode profile\r
+        /// </summary>\r
+        /// <returns>\r
+        /// An Encode Profile Object\r
+        /// </returns>\r
         public EncodingProfile Clone()\r
         {\r
             EncodingProfile profile = new EncodingProfile\r
index 979688b..a4df6a1 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// The Mixdown mode\r
+    /// </summary>\r
     public enum Mixdown\r
     {\r
         [DisplayString("Dolby Pro Logic II")]\r
index 20dfa1e..c3e3524 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Output File Extension\r
+    /// </summary>\r
     public enum OutputExtension\r
     {\r
         Mp4,\r
index 5ac1f05..e0b0e8d 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Output File Format\r
+    /// </summary>\r
     public enum OutputFormat\r
     {\r
         [DisplayString("MP4")]\r
index 3480ed8..b111da8 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Video Encoder Encode Mode\r
+    /// </summary>\r
     public enum VideoEncodeRateType\r
     {\r
         TargetSize = 0,\r
index 921675b..b5c2304 100644 (file)
@@ -9,6 +9,9 @@
 \r
 namespace HandBrake.Interop.Model.Encoding\r
 {\r
+    /// <summary>\r
+    /// Video Encoder\r
+    /// </summary>\r
     public enum VideoEncoder\r
     {\r
         [DisplayString("H.264 (x264)")]\r
index 18c2023..c56842c 100644 (file)
@@ -9,15 +9,34 @@
 \r
 namespace HandBrake.Interop.Model\r
 {\r
+    /// <summary>\r
+    /// Picture Size\r
+    /// </summary>\r
     public class Size\r
     {\r
+        /// <summary>\r
+        /// Initializes a new instance of the <see cref="Size"/> class.\r
+        /// </summary>\r
+        /// <param name="width">\r
+        /// The width.\r
+        /// </param>\r
+        /// <param name="height">\r
+        /// The height.\r
+        /// </param>\r
         public Size(int width, int height)\r
         {\r
             this.Width = width;\r
             this.Height = height;\r
         }\r
 \r
+        /// <summary>\r
+        /// Gets or sets Width.\r
+        /// </summary>\r
         public int Width { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Height.\r
+        /// </summary>\r
         public int Height { get; set; }\r
     }\r
 }\r
index 8c38654..b902120 100644 (file)
@@ -9,16 +9,37 @@
 \r
 namespace HandBrake.Interop.Model\r
 {\r
+    /// <summary>\r
+    /// A Source Subtitle\r
+    /// </summary>\r
     public class SourceSubtitle\r
     {\r
         /// <summary>\r
         /// Gets or sets the 1-based subtitle track number. 0 means foriegn audio search.\r
         /// </summary>\r
         public int TrackNumber { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets a value indicating whether the subtitle is Default.\r
+        /// </summary>\r
         public bool Default { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets a value indicating whether the subtitle is Forced.\r
+        /// </summary>\r
         public bool Forced { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets a value indicating whether the subtitle is BurnedIn.\r
+        /// </summary>\r
         public bool BurnedIn { get; set; }\r
 \r
+        /// <summary>\r
+        /// Clone the Source Subtitle\r
+        /// </summary>\r
+        /// <returns>\r
+        /// A Source Subtitle\r
+        /// </returns>\r
         public SourceSubtitle Clone()\r
         {\r
             return new SourceSubtitle\r
index dfbfe87..f15639c 100644 (file)
@@ -9,11 +9,29 @@
 \r
 namespace HandBrake.Interop.Model\r
 {\r
+    /// <summary>\r
+    /// The Source Type. (File, Folder, DVD)\r
+    /// </summary>\r
     public enum SourceType\r
     {\r
+        /// <summary>\r
+        /// None\r
+        /// </summary>\r
         None = 0,\r
+\r
+        /// <summary>\r
+        /// File\r
+        /// </summary>\r
         File,\r
+\r
+        /// <summary>\r
+        /// Video Folder\r
+        /// </summary>\r
         VideoFolder,\r
+\r
+        /// <summary>\r
+        /// DVD\r
+        /// </summary>\r
         Dvd\r
     }\r
 }
\ No newline at end of file
index ce1d335..e6cb2f1 100644 (file)
@@ -9,14 +9,42 @@
 \r
 namespace HandBrake.Interop.Model\r
 {\r
+    /// <summary>\r
+    /// A Srt Subtitle\r
+    /// </summary>\r
     public class SrtSubtitle\r
     {\r
+        /// <summary>\r
+        /// Gets or sets a value indicating whether Default.\r
+        /// </summary>\r
         public bool Default { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets FileName.\r
+        /// </summary>\r
         public string FileName { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets LanguageCode.\r
+        /// </summary>\r
         public string LanguageCode { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets CharacterCode.\r
+        /// </summary>\r
         public string CharacterCode { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Offset.\r
+        /// </summary>\r
         public int Offset { get; set; }\r
 \r
+        /// <summary>\r
+        /// Close the SRT Subtitle object\r
+        /// </summary>\r
+        /// <returns>\r
+        /// a SrtSubtitle\r
+        /// </returns>\r
         public SrtSubtitle Clone()\r
         {\r
             return new SrtSubtitle\r
index b66733f..ace4702 100644 (file)
@@ -11,9 +11,19 @@ namespace HandBrake.Interop.Model
 {\r
     using System.Collections.Generic;\r
 \r
+    /// <summary>\r
+    /// Subtitles\r
+    /// </summary>\r
     public class Subtitles\r
     {\r
+        /// <summary>\r
+        /// Gets or sets SrtSubtitles.\r
+        /// </summary>\r
         public List<SrtSubtitle> SrtSubtitles { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets SourceSubtitles.\r
+        /// </summary>\r
         public List<SourceSubtitle> SourceSubtitles { get; set; }\r
     }\r
 }\r
index 596d71a..2087e1d 100644 (file)
@@ -11,9 +11,19 @@ namespace HandBrake.Interop
 {\r
     using System;\r
 \r
+    /// <summary>\r
+    /// Scan Progress Event Arugments\r
+    /// </summary>\r
     public class ScanProgressEventArgs : EventArgs\r
     {\r
+        /// <summary>\r
+        /// Gets or sets CurrentTitle.\r
+        /// </summary>\r
         public int CurrentTitle { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets or sets Titles.\r
+        /// </summary>\r
         public int Titles { get; set; }\r
     }\r
 }\r
index d30ab22..c6b4f70 100644 (file)
             <BooleanProperty Name="Enabled">True</BooleanProperty>\r
           </RuleSettings>\r
         </Rule>\r
+        <Rule Name="EnumerationItemsMustBeDocumented">\r
+          <RuleSettings>\r
+            <BooleanProperty Name="Enabled">False</BooleanProperty>\r
+          </RuleSettings>\r
+        </Rule>\r
       </Rules>\r
-      <AnalyzerSettings />\r
+      <AnalyzerSettings>\r
+        <StringProperty Name="CompanyName">HandBrake Project (http://handbrake.fr)</StringProperty>\r
+        <StringProperty Name="Copyright">This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.</StringProperty>\r
+      </AnalyzerSettings>\r
     </Analyzer>\r
   </Analyzers>\r
 </StyleCopSettings>
\ No newline at end of file
index 5e5d467..76de1b6 100644 (file)
@@ -15,29 +15,38 @@ namespace HandBrake.Interop.SourceData
     public class AudioTrack\r
     {\r
         /// <summary>\r
-        /// The track number of this Audio Track\r
+        /// Gets or sets the track number of this Audio Track\r
         /// </summary>\r
         public int TrackNumber { get; set; }\r
 \r
         /// <summary>\r
-        /// The language (if detected) of this Audio Track\r
+        /// Gets or sets the language (if detected) of this Audio Track\r
         /// </summary>\r
         public string Language { get; set; }\r
 \r
+        /// <summary>\r
+        /// Gets or sets LanguageCode.\r
+        /// </summary>\r
         public string LanguageCode { get; set; }\r
 \r
+        /// <summary>\r
+        /// Gets or sets Description.\r
+        /// </summary>\r
         public string Description { get; set; }\r
 \r
         /// <summary>\r
-        /// The frequency (in MHz) of this Audio Track\r
+        /// Gets or sets the frequency (in MHz) of this Audio Track\r
         /// </summary>\r
         public int SampleRate { get; set; }\r
 \r
         /// <summary>\r
-        /// The bitrate (in kbps) of this Audio Track\r
+        /// Gets or sets the bitrate (in kbps) of this Audio Track\r
         /// </summary>\r
         public int Bitrate { get; set; }\r
 \r
+        /// <summary>\r
+        /// Gets Display.\r
+        /// </summary>\r
         public string Display\r
         {\r
             get\r
@@ -46,6 +55,9 @@ namespace HandBrake.Interop.SourceData
             }\r
         }\r
 \r
+        /// <summary>\r
+        /// Gets NoTrackDisplay.\r
+        /// </summary>\r
         public string NoTrackDisplay\r
         {\r
             get\r
@@ -63,16 +75,18 @@ namespace HandBrake.Interop.SourceData
             return this.GetDisplayString(true);\r
         }\r
 \r
+        /// <summary>\r
+        /// Get the Display String\r
+        /// </summary>\r
+        /// <param name="includeTrackNumber">\r
+        /// The include track number.\r
+        /// </param>\r
+        /// <returns>\r
+        /// A String\r
+        /// </returns>\r
         private string GetDisplayString(bool includeTrackNumber)\r
         {\r
-            if (includeTrackNumber)\r
-            {\r
-                return this.TrackNumber + " " + this.Description;\r
-            }\r
-            else\r
-            {\r
-                return this.Description;\r
-            }\r
+            return includeTrackNumber ? (this.TrackNumber + " " + this.Description) : this.Description;\r
         }\r
     }\r
 }
\ No newline at end of file
index a5a0b81..0c3077f 100644 (file)
@@ -17,12 +17,12 @@ namespace HandBrake.Interop.SourceData
     public class Chapter\r
     {\r
         /// <summary>\r
-        /// The number of this Chapter, in regards to its parent Title\r
+        /// Gets or sets the number of this Chapter, in regards to its parent Title\r
         /// </summary>\r
         public int ChapterNumber { get; set; }\r
 \r
         /// <summary>\r
-        /// The length in time this Chapter spans\r
+        /// Gets or sets the length in time this Chapter spans\r
         /// </summary>\r
         public TimeSpan Duration { get; set; }\r
 \r
index 2e186ed..f460b16 100644 (file)
@@ -15,37 +15,33 @@ namespace HandBrake.Interop.SourceData
     public class Subtitle\r
     {\r
         /// <summary>\r
-        /// The track number of this Subtitle\r
+        /// Gets or sets the track number of this Subtitle\r
         /// </summary>\r
         public int TrackNumber { get; set; }\r
 \r
         /// <summary>\r
-        /// The language (if detected) of this Subtitle\r
+        /// Gets or sets the language (if detected) of this Subtitle\r
         /// </summary>\r
         public string Language { get; set; }\r
 \r
         /// <summary>\r
-        /// Langauage Code\r
+        /// Gets or sets Langauage Code\r
         /// </summary>\r
         public string LanguageCode { get; set; }\r
 \r
+        /// <summary>\r
+        /// Gets or sets SubtitleType.\r
+        /// </summary>\r
         public SubtitleType SubtitleType { get; set; }\r
 \r
         /// <summary>\r
-        /// Subtitle Type\r
+        /// Gets Subtitle Type\r
         /// </summary>\r
         public string TypeString\r
         {\r
             get\r
             {\r
-                if (this.SubtitleType == SubtitleType.Picture)\r
-                {\r
-                    return "Bitmap";\r
-                }\r
-                else\r
-                {\r
-                    return "Text";\r
-                }\r
+                return this.SubtitleType == SubtitleType.Picture ? "Bitmap" : "Text";\r
             }\r
         }\r
 \r
@@ -57,13 +53,5 @@ namespace HandBrake.Interop.SourceData
         {\r
             return string.Format("{0} {1} ({2})", this.TrackNumber, this.Language, this.TypeString);\r
         }\r
-\r
-        public string Display\r
-        {\r
-            get\r
-            {\r
-                return this.ToString();\r
-            }\r
-        }\r
     }\r
 }
\ No newline at end of file
index 419b1b5..5bbe5ab 100644 (file)
@@ -9,9 +9,21 @@
 \r
 namespace HandBrake.Interop.SourceData\r
 {\r
+    /// <summary>\r
+    /// Subtitle Type. \r
+    /// 0: Picture\r
+    /// 1: Text\r
+    /// </summary>\r
     public enum SubtitleType\r
     {\r
+        /// <summary>\r
+        /// Picture Subtitle\r
+        /// </summary>\r
         Picture,\r
+\r
+        /// <summary>\r
+        /// Text Subtitle\r
+        /// </summary>\r
         Text\r
     }\r
 }\r
index 865891c..61d6a6f 100644 (file)
@@ -11,7 +11,6 @@ namespace HandBrake.Interop.SourceData
 {\r
     using System;\r
     using System.Collections.Generic;\r
-    using System.Globalization;\r
     using Model;\r
 \r
     /// <summary>\r
@@ -19,74 +18,63 @@ namespace HandBrake.Interop.SourceData
     /// </summary>\r
     public class Title\r
     {\r
-        private static readonly CultureInfo Culture = new CultureInfo("en-US", false);\r
-        private readonly List<AudioTrack> audioTracks;\r
-        private readonly List<Chapter> chapters;\r
-        private readonly List<Subtitle> subtitles;\r
-        \r
         /// <summary>\r
-        /// The constructor for this object\r
+        /// Initializes a new instance of the <see cref="Title"/> class. \r
         /// </summary>\r
         public Title()\r
         {\r
-            this.audioTracks = new List<AudioTrack>();\r
-            this.chapters = new List<Chapter>();\r
-            this.subtitles = new List<Subtitle>();\r
+            this.AudioTracks = new List<AudioTrack>();\r
+            this.Chapters = new List<Chapter>();\r
+            this.Subtitles = new List<Subtitle>();\r
         }\r
 \r
         /// <summary>\r
-        /// Collection of chapters in this Title\r
+        /// Gets Collection of chapters in this Title\r
         /// </summary>\r
-        public List<Chapter> Chapters\r
-        {\r
-            get { return this.chapters; }\r
-        }\r
+        public List<Chapter> Chapters { get; private set; }\r
 \r
         /// <summary>\r
-        /// Collection of audio tracks associated with this Title\r
+        /// Gets Collection of audio tracks associated with this Title\r
         /// </summary>\r
-        public List<AudioTrack> AudioTracks\r
-        {\r
-            get { return this.audioTracks; }\r
-        }\r
+        public List<AudioTrack> AudioTracks { get; private set; }\r
 \r
         /// <summary>\r
-        /// Collection of subtitles associated with this Title\r
+        /// Gets Collection of subtitles associated with this Title\r
         /// </summary>\r
-        public List<Subtitle> Subtitles\r
-        {\r
-            get { return this.subtitles; }\r
-        }\r
+        public List<Subtitle> Subtitles { get; private set; }\r
 \r
         /// <summary>\r
-        /// The track number of this Title (1-based).\r
+        /// Gets or sets The track number of this Title (1-based).\r
         /// </summary>\r
         public int TitleNumber { get; set; }\r
 \r
         /// <summary>\r
-        /// The length in time of this Title\r
+        /// Gets or sets The length in time of this Title\r
         /// </summary>\r
         public TimeSpan Duration { get; set; }\r
 \r
         /// <summary>\r
-        /// The resolution (width/height) of this Title\r
+        /// Gets or sets The resolution (width/height) of this Title\r
         /// </summary>\r
         public Size Resolution { get; set; }\r
 \r
         /// <summary>\r
-        /// The aspect ratio of this Title\r
+        /// Gets or sets The aspect ratio of this Title\r
         /// </summary>\r
         public double AspectRatio { get; set; }\r
 \r
+        /// <summary>\r
+        /// Gets or sets AngleCount.\r
+        /// </summary>\r
         public int AngleCount { get; set; }\r
 \r
         /// <summary>\r
-        /// Par Value\r
+        /// Gets or sets Par Value\r
         /// </summary>\r
         public Size ParVal { get; set; }\r
 \r
         /// <summary>\r
-        /// The automatically detected crop region for this Title.\r
+        /// Gets or sets the automatically detected crop region for this Title.\r
         /// This is an int array with 4 items in it as so:\r
         /// 0: \r
         /// 1: \r
@@ -94,6 +82,17 @@ namespace HandBrake.Interop.SourceData
         /// 3: \r
         /// </summary>\r
         public Cropping AutoCropDimensions { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets Display.\r
+        /// </summary>\r
+        public string Display\r
+        {\r
+            get\r
+            {\r
+                return this.ToString();\r
+            }\r
+        }\r
   \r
         /// <summary>\r
         /// Override of the ToString method to provide an easy way to use this object in the UI\r
@@ -104,13 +103,5 @@ namespace HandBrake.Interop.SourceData
             return string.Format("{0} ({1:00}:{2:00}:{3:00})", this.TitleNumber, this.Duration.Hours,\r
                                  this.Duration.Minutes, this.Duration.Seconds);\r
         }\r
-\r
-        public string Display\r
-        {\r
-            get\r
-            {\r
-                return this.ToString();\r
-            }\r
-        }\r
     }\r
 }
\ No newline at end of file