public override void DisposingViewModel(uFrame.MVVM.ViewModel viewModel) { base.DisposingViewModel(viewModel); PlayerItemViewModelManager.Remove(viewModel); }
public virtual void InitializePlayerItem(PlayerItemViewModel viewModel) { // This is called when a PlayerItemViewModel is created viewModel.RefreshByPlayer.Action = this.RefreshByPlayerHandler; PlayerItemViewModelManager.Add(viewModel); }