mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-12-02 01:56:06 +03:00
25 lines
565 B
C#
25 lines
565 B
C#
|
using MvvmCross.ViewModels;
|
|||
|
using ProxySuper.Core.Models.Projects;
|
|||
|
using ProxySuper.Core.Services;
|
|||
|
|
|||
|
namespace ProxySuper.Core.ViewModels
|
|||
|
{
|
|||
|
public class NaiveProxyConfigViewModel : MvxViewModel<NaiveProxySettings>
|
|||
|
{
|
|||
|
public NaiveProxySettings Settings { get; set; }
|
|||
|
|
|||
|
public override void Prepare(NaiveProxySettings parameter)
|
|||
|
{
|
|||
|
Settings = parameter;
|
|||
|
}
|
|||
|
|
|||
|
public string Link
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return ShareLink.BuildNaiveProxy(Settings);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|