private bool LoadModuleCommandCanExecute(PrismModuleStatus arg) { return arg != null && !arg.IsLoaded; }
private void LoadModuleCommandExecuted(PrismModuleStatus arg) { Log.Debug($"Loading module {new {arg.ModuleName, arg.IsLoaded}}"); moduleManager.LoadModule(arg.ModuleName); Log.Debug($"Module loaded: {new {arg.ModuleName, arg.IsLoaded}}"); }
private bool Equals(PrismModuleStatus other) { return(Equals(Info, other.Info)); }