Exemplo n.º 1
0
        public ITicketServiceClientWrapper GetTicketSercviceClient()
        {
            var channel           = GetChannel("Ticket");
            var chatServiceClient = new TicketService.TicketServiceClient(channel);

            return(new TicketServiceClientWrapper(chatServiceClient, _logServiceFactory));
        }
Exemplo n.º 2
0
 public TicketServiceClientWrapper(
     TicketService.TicketServiceClient ticketServiceClient,
     ILogServiceFactory logServiceFactory
     )
     : base(logServiceFactory.CreateLogger <TicketServiceClientWrapper>())
 {
     _ticketServiceClient = ticketServiceClient;
 }