Exemplo n.º 1
0
        static void Main(string[] args)
        {
            IProductService localService = new ProductInfoService();
            var             localModel   = localService.GetProductById(1001);

            IProductService msService = new MSProductInfoServiceAdapter();
            var             msModel   = msService.GetProductById(1002);
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            IProductService localService = new ProductInfoService();
            var localModel = localService.GetProductById(1001);

            IProductService msService = new MSProductInfoServiceAdapter();
            var msModel = msService.GetProductById(1002);

        }