using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace Netch.Models { public interface IServerUtil { /// /// Collection order basis /// ushort Priority { get; } /// /// Server.Type /// string TypeName { get; } /// /// Protocol Name /// string FullName { get; } /// /// Support URI /// string[] UriScheme { get; } Server ParseJObject(JObject j); public void Edit(Server s); public void Create(); string GetShareLink(Server server); public abstract ServerController GetController(); public abstract IEnumerable ParseUri(string text); bool CheckServer(Server s); } }