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