mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
20 lines
497 B
C#
20 lines
497 B
C#
using ReactiveUI;
|
|
using ReactiveUI.Fody.Helpers;
|
|
using Wabbajack.App.ViewModels;
|
|
using Wabbajack.DTOs;
|
|
|
|
namespace Wabbajack.App.Controls;
|
|
|
|
public class GameSelectorItemViewModel : ViewModelBase, IActivatableViewModel
|
|
{
|
|
public GameSelectorItemViewModel(Game game)
|
|
{
|
|
Activator = new ViewModelActivator();
|
|
Game = game;
|
|
Name = game.MetaData().HumanFriendlyGameName;
|
|
}
|
|
|
|
[Reactive] public Game Game { get; set; }
|
|
|
|
[Reactive] public string Name { get; set; }
|
|
} |