public PopupViewModel(GameTranslator gameTranslator) : base(gameTranslator) { try { _defaultColors[0] = GraphicHelper.DefaultPositiveButtonColor; _defaultColors[1] = GraphicHelper.DefaultNegativeButtonColor; _defaultColors[2] = GraphicHelper.DefaultCancelButtonColor; } catch (Exception e) { this.Log($"Exception occur during constructing PopupViewModel. \n{e}", LogLevel.Error); } }
public LocaleViewModel(GameTranslator gameTranslator) { _gameTranslator = gameTranslator; }