using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Telegrator.Configuration; using Telegrator.Providers; namespace Telegrator.Hosting.Providers { /// public class HostAwaitingProvider(IOptions options, ILogger logger) : AwaitingProvider(options.Value) { private readonly ILogger _logger = logger; /* /// public override IEnumerable GetHandlers(IUpdateRouter updateRouter, ITelegramBotClient client, Update update, CancellationToken cancellationToken = default) { IEnumerable handlers = base.GetHandlers(updateRouter, client, update, cancellationToken).ToArray(); logger.LogInformation("Described awaiting handlers : {handlers}", string.Join(", ", handlers.Select(hndlr => hndlr.HandlerInstance.GetType().Name))); return handlers; } */ } }