Exemplo n.º 1
0
        static IANASettings()
        {
            var domains = EmbeddedResourceHelper.ReadDomainsSettings()
                          .ConfigureAwait(false);

            var schemes = EmbeddedResourceHelper.ReadSchemesSettings()
                          .ConfigureAwait(false);

            Domains = new HashSet <string>(domains.GetAwaiter().GetResult());
            Schemes = new HashSet <string>(schemes.GetAwaiter().GetResult());
        }