/* Chapter.cs $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; namespace HandBrake.SourceData { /// /// An object representing a Chapter aosciated with a Title, in a DVD /// public class Chapter { /// /// The number of this Chapter, in regards to its parent Title /// public int ChapterNumber { get; set; } /// /// The length in time this Chapter spans /// public TimeSpan Duration { get; set; } /// /// Override of the ToString method to make this object easier to use in the UI /// /// A string formatted as: {chapter #} public override string ToString() { return this.ChapterNumber.ToString(); } } }