コード例 #1
0
        public void Connect() {
            try {
                //Intialise connection to all services
                ConnectionService.Connections.DavisonService davison = new DavisonService();
                ConnectionService.Connections.CuttersService cutters = new CuttersService();
                ConnectionService.Connections.DealersService dealers = new DealersService();
                ConnectionService.Connections.KwikiService kwiki = new KwikiService();
                ConnectionService.Connections._3AmigoService _3amigos = new _3AmigoService();
            }
            catch (Exception e)
            {
                Debug.WriteLine("Could not connect to Services" + e);
            }
 }
コード例 #2
0
        public void dealersTest()
        {
            DealersService dealers = new DealersService();

            Assert.IsInstanceOfType(dealers, typeof(HttpClient));
        }