private async Task CompositeChatClient_OnUserUnTimedout(UserUntimedoutEvent userUntimedoutEvent) { var messageDispatcher = serviceProvider.GetService(typeof(IMessageDispatcher)) as IMessageDispatcher; var timeOfSuspension = datetimeProvider.UtcNow; await MarkActiveSuspensionsForUserAsUndone(userUntimedoutEvent.Username, userUntimedoutEvent.UntimedoutBy, timeOfSuspension, messageDispatcher).ConfigureAwait(false); }
private void PubSubClient_OnUserUnTimedout(object sender, UserUntimedoutEvent e) => OnUserUnTimedout?.Invoke(e);
private void NewConnection_OnUserUntimedout(object sender, UserUntimedoutEvent e) { logger.LogInformation("Received untimeout on {arg}, issued by {arg2} in channel {arg3}", e.Username, e.UntimedoutBy, e.Channel); OnUserUnTimedout?.Invoke(this, e); }