1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-22 05:06:08 +03:00
ProxySU/ProxySuper.Core/ViewModels/TrojanGoConfigViewModel.cs

25 lines
555 B
C#
Raw Normal View History

2021-05-22 06:48:44 +03:00
using MvvmCross.ViewModels;
using ProxySuper.Core.Models.Projects;
2021-05-24 13:57:17 +03:00
using ProxySuper.Core.Services;
2021-05-22 06:48:44 +03:00
namespace ProxySuper.Core.ViewModels
{
public class TrojanGoConfigViewModel : MvxViewModel<TrojanGoSettings>
{
public TrojanGoSettings Settings { get; set; }
public override void Prepare(TrojanGoSettings parameter)
{
Settings = parameter;
}
2021-05-24 13:57:17 +03:00
public string Link
{
get
{
return ShareLink.BuildTrojanGo(Settings);
}
}
2021-05-22 06:48:44 +03:00
}
}