GithubMetaProviderOptions.cs 480 B

123456789101112131415161718
  1. using System;
  2. namespace FastGithub.Scanner.LookupProviders
  3. {
  4. [Options("Github:Lookup:GithubMetaProvider")]
  5. sealed class GithubMetaProviderOptions
  6. {
  7. /// <summary>
  8. /// 是否启用
  9. /// </summary>
  10. public bool Enable { get; set; }
  11. /// <summary>
  12. /// meta请求uri
  13. /// </summary>
  14. public Uri MetaUri { get; set; } = new Uri("https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json");
  15. }
  16. }