1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-23 05:36:08 +03:00
ProxySU/ProxySU_Core/ViewModels/RecordViewModel.cs

41 lines
821 B
C#
Raw Normal View History

2021-03-04 11:25:36 +03:00
using ProxySU_Core.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProxySU_Core.ViewModels
{
public class RecordViewModel : BaseViewModel
{
public Record record;
public RecordViewModel(Record record)
{
this.record = record;
}
public Host Host
{
get => record.Host;
set
{
record.Host = value;
Notify("Host");
}
}
public XraySettings Settings
{
get => record.Settings;
set
{
record.Settings = value;
Notify("Settings");
}
}
}
}