using MvvmCross.ViewModels; using ProxySuper.Core.Models.Projects; using ProxySuper.Core.Services; namespace ProxySuper.Core.ViewModels { public class NaiveProxyConfigViewModel : MvxViewModel { public NaiveProxySettings Settings { get; set; } public override void Prepare(NaiveProxySettings parameter) { Settings = parameter; } public string Link { get { return ShareLink.BuildNaiveProxy(Settings); } } } }