Ejemplo n.º 1
0
        public void Initialize()
        {
            client = new Mocks.NmcClientMock();

            client.addName("d/import_www", import_example);
            client.addName("s/shareddata", shareddata);

            resolver = new DotBitResolver(client.DnsLookup, client);
        }
Ejemplo n.º 2
0
        public void Initialize()
        {
            client = new Mocks.NmcClientMock();

            client.addName("d/translate1", translate1);
            client.addName("d/otherhost", otherhost);

            resolver = new DotBitResolver(client.DnsLookup, client);
        }
Ejemplo n.º 3
0
        public void Initialize()
        {
            client = new Mocks.NmcClientMock();

            client.addName("d/nx", Example_MapOnly_nx_bit);
            client.addName("d/nest", Example_MapOnly_www_nest_bit);
            client.addName("d/maponlyarray", Example_MapOnly_maponlyarray_bit);
            client.addName("d/json1", Json1);

            client.addDnsRecord("json1.com", new IPAddress(new byte[] { 0, 0, 0, 1 }));

            resolver = new DotBitResolver(client.DnsLookup, client);
        }