using Artemis.Core.Modules; using Stylet; namespace Artemis.UI.Shared.Modules { /// /// The base class for any view model that belongs to a module /// public abstract class ModuleViewModel : Screen, IModuleViewModel { /// /// The base class for any view model that belongs to a module /// /// The module this view model belongs to /// The name of the tab that's shown on the modules UI page protected ModuleViewModel(Module module, string displayName) { Module = module; DisplayName = displayName.ToUpper(); } /// /// Gets the module this view model belongs to /// public Module Module { get; } } }