public MockReminderService(IOptions <ReminderConfiguration> options, ILogger <MockReminderService> logger, INotificationService notificationService, ReminderClient client) { _logger = logger; _notificationService = notificationService; _client = client; _options = options; }
public MessageReciever(ReminderClient reminderConnection, string apiIdentifier) { this.ApiConnection = reminderConnection; this.ApiIdentifier = apiIdentifier; ApiThread = new Thread(new ThreadStart(ApiLoop)) { Name = "ApiLoop", IsBackground = true }; ApiThread.Start(); }