private void InitializeTicketingProxy(bool useBridge) { string endpointName; if (useBridge) { endpointName = "TicketingHttpBridgeEP"; } else { endpointName = "InternalTicketingEP"; } ChannelFactory<ITicketingService> factory = new ChannelFactory<ITicketingService>(endpointName); (factory.Endpoint.Binding as WSHttpBindingBase).TransactionFlow = true; _ticketingProxy = factory.CreateChannel(); }
public CreateTicketingRecordCommandHandler(ITicketingService service, CreateTicketingRecordCommand command) { _service = service; _command = command; }
public TicketingCommandHandlerFactory(ITicketingService service) { _service = service; }
public OneTicketingRecordByIdQueryHandler(ITicketingService service, OneTicketingRecordByIdQuery query) { _service = service; _query = query; }
public AllTicketingRecordsByEventQueryHandler(ITicketingService service, AllTicketingRecordsByEventQuery query) { _service = service; _query = query; }
public TicketingQueryHandlerFactory(ITicketingService service) { _service = service; }
public EditTicketingRecordCommandHandler(ITicketingService service, EditTicketingRecordCommand command) { _service = service; _command = command; }
public AllTicketingRecordsQueryHandler(ITicketingService service) { _service = service; }