Ejemplo n.º 1
0
 public BlockChainService(IDNSClient client, LookupClient lookup, ICryptoService cryptoService)
 {
     this.lookup        = lookup;
     this.client        = client;
     this.cryptoService = cryptoService;
     this.client.Init?.Invoke();
 }
Ejemplo n.º 2
0
 public SerialRecursiveResolver(IDNSClient client)
 {
     this.dnsClient = client;
 }
Ejemplo n.º 3
0
 public RecursiveResolver(IDNSClient client)
 {
     this.dnsClient = client;
     this.resolvers = new ConcurrentDictionary <ParsedDomain, Task <IP4Addr> >();
     this.reversers = new ConcurrentDictionary <IP4Addr, Task <string> >();
 }
Ejemplo n.º 4
0
 public RecursiveResolver(IDNSClient client)
 {
     dnsClient = client;
     IpCache   = new ConcurrentDictionary <string, Task <IP4Addr> >();
 }