Exemple #1
0
        public static MaxMind Create(IDnsServer dnsServer)
        {
            if (_maxMind is null)
            {
                _maxMind = new MaxMind(dnsServer);
            }

            return(_maxMind);
        }
Exemple #2
0
        public Task InitializeAsync(IDnsServer dnsServer, string config)
        {
            _maxMind = MaxMind.Create(dnsServer);

            return(Task.CompletedTask);
        }