1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-22 13:16:09 +03:00
ProxySU/ProxySuper.Core/ViewModels/BrookConfigViewModel.cs
2021-07-07 16:56:53 +08:00

30 lines
656 B
C#

using MvvmCross.ViewModels;
using ProxySuper.Core.Models.Projects;
using ProxySuper.Core.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProxySuper.Core.ViewModels
{
public class BrookConfigViewModel : MvxViewModel<BrookSettings>
{
public BrookSettings Settings { get; set; }
public override void Prepare(BrookSettings parameter)
{
Settings = parameter;
}
public string Link
{
get
{
return ShareLink.BuildBrook(Settings);
}
}
}
}