Refactor: name, namespace

This commit is contained in:
ChsBuffer
2021-04-30 15:24:37 +08:00
parent 258880ef95
commit fb64951003
33 changed files with 137 additions and 115 deletions

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using Netch.Models;
namespace Netch.Interfaces
{
public interface IServerUtil
{
/// <summary>
/// Collection order basis
/// </summary>
ushort Priority { get; }
/// <summary>
/// Server.Type
/// </summary>
string TypeName { get; }
/// <summary>
/// Protocol Name
/// </summary>
string FullName { get; }
string ShortName { get; }
/// <summary>
/// Support URI
/// </summary>
string[] UriScheme { get; }
public abstract Type ServerType { get; }
public void Edit(Server s);
public void Create();
string GetShareLink(Server s);
public abstract IServerController GetController();
public abstract IEnumerable<Server> ParseUri(string text);
bool CheckServer(Server s);
}
}