﻿using Soldier.Windows.Core;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Soldier.Windows.Models
{
    public class ComboBoxModel<T> : NotificationObject
    {
        private ObservableCollection<T> _ItemsSource = new ObservableCollection<T>();
        private T _SelectedItem;

        public ObservableCollection<T> ItemsSource { get => _ItemsSource; set { _ItemsSource = value; RaisePropertyChanged(); } }
        public T SelectedItem { get => _SelectedItem; set { _SelectedItem = value; RaisePropertyChanged(); } }
    }
}
