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