FastGithub/FastGithub.Scanner/IDomainAddressProvider.cs
2021-06-18 15:50:10 +08:00

23 lines
507 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
namespace FastGithub.Scanner
{
/// <summary>
/// 定义域名的ip提值者
/// </summary>
interface IDomainAddressProvider
{
/// <summary>
/// 获取排序
/// </summary>
int Order { get; }
/// <summary>
/// 创建域名与ip的关系
/// </summary>
/// <returns></returns>
Task<IEnumerable<DomainAddress>> CreateDomainAddressesAsync();
}
}