public RoutingInboxHandler( IWalletRecordService recordService, IWalletService walletService, IRoutingStore routingStore, ILogger <RoutingInboxHandler> logger) { this.recordService = recordService; this.walletService = walletService; this.routingStore = routingStore; this.logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="MediatorForwardHandler"/> class. /// </summary> /// <param name="recordService"></param> /// <param name="walletService"></param> /// <param name="routingStore"></param> /// <param name="eventAggregator"></param> public MediatorForwardHandler( IWalletRecordService recordService, IWalletService walletService, IRoutingStore routingStore, IEventAggregator eventAggregator) { this.recordService = recordService; this.walletService = walletService; this.routingStore = routingStore; this.eventAggregator = eventAggregator; }
public RoutingInboxHandler( IWalletRecordService recordService, IWalletService walletService, IRoutingStore routingStore, IOptions <AgentOptions> options, ILogger <RoutingInboxHandler> logger) { this.recordService = recordService; this.walletService = walletService; this.routingStore = routingStore; this.options = options.Value; this.logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="MediatorForwardHandler"/> class. /// </summary> /// <param name="recordService"></param> /// <param name="walletService"></param> /// <param name="routingStore"></param> /// <param name="eventAggregator"></param> public MediatorForwardHandler( IWalletRecordService recordService, IWalletService walletService, IRoutingStore routingStore, IEventAggregator eventAggregator) { this.recordService = recordService; this.walletService = walletService; this.routingStore = routingStore; this.eventAggregator = eventAggregator; if (Environment.GetEnvironmentVariable("Inbox_Notification_Endpoint") != null && Environment.GetEnvironmentVariable("Inbox_Notification_Endpoint").Length > 0) { notifyEdgeClient = true; inboxNotificationEndpoint = Environment.GetEnvironmentVariable("Inbox_Notification_Endpoint"); apiKey = Environment.GetEnvironmentVariable("Inbox_Notification_ApiKey"); } }