mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-29 08:36:08 +03:00
30 lines
681 B
C#
30 lines
681 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 NaiveProxyConfigViewModel : MvxViewModel<NaiveProxySettings>
|
|||
|
{
|
|||
|
public NaiveProxySettings Settings { get; set; }
|
|||
|
|
|||
|
public override void Prepare(NaiveProxySettings parameter)
|
|||
|
{
|
|||
|
Settings = parameter;
|
|||
|
}
|
|||
|
|
|||
|
public string Link
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return ShareLink.BuildNaiveProxy(Settings);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|