// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // The About View Model // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.ViewModels { using HandBrake.ApplicationServices.Utilities; using HandBrakeWPF.ViewModels.Interfaces; /// /// The About View Model /// public class AboutViewModel : ViewModelBase, IAboutViewModel { /// /// Initializes a new instance of the class. /// public AboutViewModel() { this.Title = "About HandBrake"; } /// /// Gets Version. /// public string Version { get { return string.Format("{0} - {1}", VersionHelper.GetVersion(), VersionHelper.GetPlatformBitnessVersion()); } } /// /// Close this window. /// public void Close() { this.TryClose(); } } }