public MessagesClient( ITwitterClient client, IMessageRequester messageRequester) { _client = client; _messageRequester = messageRequester; }
public MessageBusClient(IMessageRequester messageRequester) { this._messageRequester = messageRequester ?? throw new NullReferenceException($"{messageRequester}不能为空"); _serviceFactory = new ServiceFactory(messageRequester); _messageBusMails = new ConcurrentDictionary <string, LocalMessageMail>(); Start(); }
public MappingService(string baseUri, IMessageRequester requester, IEventAggregator eventAggregator) { this.requester = requester; this.eventAggregator = eventAggregator; this.sourceSystemUriList = baseUri + "SourceSystem/List"; this.mappingUri = baseUri + "{0}/{1}/mapping"; this.mappingUri = baseUri + "{0}/{1}/mapping"; this.mappingEntityUri = this.mappingUri + "/{2}"; }
public MappingService(string baseUri, IMessageRequester requester, IEventAggregator eventAggregator) { this.requester = requester; this.eventAggregator = eventAggregator; this.sourceSystemUriList = baseUri + "SourceSystem/List"; this.mappingUri = baseUri + "{0}/{1}/mapping"; this.mappingUri = baseUri + "{0}/{1}/mapping"; this.mappingEntityUri = this.mappingUri + "/{2}"; }
public MdmEntityService(string baseUri, IMessageRequester requester) { this.BaseUri = baseUri; this.entityUri = baseUri + "/{0}"; this.mappingUri = this.entityUri + "/mapping"; this.entityListUri = this.entityUri + "/list"; this.deleteMappingUri = this.mappingUri + "/{1}"; this.mapUri = baseUri + "/map?" + QueryConstants.SourceSystem + "={0}&" + QueryConstants.MappingValue + "={1}"; this.crossMapUri = baseUri + "/crossmap?" + QueryConstants.SourceSystem + "={0}&" + QueryConstants.MappingValue + "={1}&" + QueryConstants.DestinationSystem + "={2}"; this.searchUri = baseUri + "/search"; this.validAtParam = "?" + QueryConstants.ValidAt + "={0}"; this.entityName = typeof(TContract).Name; this.requester = requester; this.etags = new Dictionary <int, string>(); }
public ReferenceDataService(string baseUri, IMessageRequester requester) { this.baseUri = baseUri; this.requester = requester; }
public ServiceFactory(IMessageRequester requester) { ExceptionCatcher = new ThrowException(); _messageRequester = requester; }
public ReferenceDataService(string baseUri, IMessageRequester requester) { this.baseUri = baseUri; this.requester = requester; }