internal EventHubBaseOperator(ILocalSwitchboard switchBoard, EventHubDataSubscriber eventHubMsgReciever) { this.Switchboards.Add(switchBoard); switchBoard.Operator = this; this.EventHubMsgReciever = eventHubMsgReciever; this.ID = 0; }
internal static EventHubDataSubscriber GetEventHubDataReciever(string connectionstring, string eventHubName, bool createEventHubIfItDoesNotExist) { var t = new EventHubDataSubscriber(connectionstring, eventHubName); if (createEventHubIfItDoesNotExist) { t.CreateIfNotExists(); } return(t); }
private EventHubSubscriptionOperator(EventHubDataSubscriber reciever, uint concurrency) : this(new LocalSwitchboard(LocalConcurrencyType.DedicatedThreadCount, concurrency), reciever) { }
private EventHubSubscriptionOperator(ILocalSwitchboard switchBoard, EventHubDataSubscriber reciever) : base(switchBoard, reciever) { }
private EventHubSubscriptionOperator(LocalConcurrencyType type, EventHubDataSubscriber reciever, uint concurrency) : this(new LocalSwitchboard(type, concurrency), reciever) { }