// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // A Base Class for the View Models which contains reusable code. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.ViewModels { using Caliburn.Micro; using HandBrakeWPF.ViewModels.Interfaces; /// /// A Base Class for the View Models which contains reusable code. /// public class ViewModelBase : Screen, IViewModelBase { /// /// Initializes a new instance of the class. /// /// /// The window manager. /// public ViewModelBase(IWindowManager windowManager) { this.WindowManager = windowManager; } /// /// Gets WindowManager. /// public IWindowManager WindowManager { get; private set; } } }