mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-21 20:56:08 +03:00
25 lines
555 B
C#
25 lines
555 B
C#
using MvvmCross.ViewModels;
|
|
using ProxySuper.Core.Models.Projects;
|
|
using ProxySuper.Core.Services;
|
|
|
|
namespace ProxySuper.Core.ViewModels
|
|
{
|
|
public class TrojanGoConfigViewModel : MvxViewModel<TrojanGoSettings>
|
|
{
|
|
public TrojanGoSettings Settings { get; set; }
|
|
|
|
public override void Prepare(TrojanGoSettings parameter)
|
|
{
|
|
Settings = parameter;
|
|
}
|
|
|
|
public string Link
|
|
{
|
|
get
|
|
{
|
|
return ShareLink.BuildTrojanGo(Settings);
|
|
}
|
|
}
|
|
}
|
|
}
|