Пример #1
0
        public static void Main(string [] args)
        {
            Console.WriteLine("Press any key once the service has started");
            Console.ReadKey();
            Channel channel = new Channel("127.0.0.1:50025", ChannelCredentials.Insecure);
            var     client  = new RateCardManagerService.RateCardManagerServiceClient(channel);

            TestGetRateCard(client);
        }
Пример #2
0
 public static void TestGetRateCard(RateCardManagerService.RateCardManagerServiceClient client)
 {
     var request  = new GetRateCardRequest();
     var response = client.GetRateCard(request);
 }