generator bug fix

This commit is contained in:
2026-03-06 23:27:11 +04:00
parent 866129f2ff
commit 1ebf4ec22a
16 changed files with 2551 additions and 2588 deletions
+31 -31
View File
@@ -4,33 +4,12 @@
<name>Telegrator.Hosting.Web</name>
</assembly>
<members>
<member name="T:Telegrator.Hosting.Web.Components.ITelegramBotWebHost">
<member name="T:Telegrator.Hosting.Web.ITelegramBotWebHost">
<summary>
Interface for Telegram bot hosts with Webhook update receiving.
Combines wbe application capabilities with reactive Telegram bot functionality.
</summary>
</member>
<member name="T:Telegrator.Hosting.Web.Polling.HostedUpdateWebhooker">
<summary>
Service for receiving updates for Hosted telegram bots via Webhooks
</summary>
</member>
<member name="M:Telegrator.Hosting.Web.Polling.HostedUpdateWebhooker.#ctor(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder,Telegram.Bot.ITelegramBotClient,Telegrator.MadiatorCore.IUpdateRouter,Microsoft.Extensions.Options.IOptions{Telegrator.Hosting.Web.TelegratorWebOptions})">
<summary>
Initiallizes new instance of <see cref="T:Telegrator.Hosting.Web.Polling.HostedUpdateWebhooker"/>
</summary>
<param name="botHost"></param>
<param name="botClient"></param>
<param name="updateRouter"></param>
<param name="options"></param>
<exception cref="T:System.ArgumentNullException"></exception>
</member>
<member name="M:Telegrator.Hosting.Web.Polling.HostedUpdateWebhooker.StartAsync(System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="M:Telegrator.Hosting.Web.Polling.HostedUpdateWebhooker.StopAsync(System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="T:Telegrator.Hosting.Web.TelegramBotWebHost">
<summary>
Represents a web hosted telegram bot
@@ -55,7 +34,7 @@
This application's logger
</summary>
</member>
<member name="M:Telegrator.Hosting.Web.TelegramBotWebHost.#ctor(Microsoft.AspNetCore.Builder.WebApplicationBuilder,Telegrator.MadiatorCore.IHandlersCollection)">
<member name="M:Telegrator.Hosting.Web.TelegramBotWebHost.#ctor(Microsoft.AspNetCore.Builder.WebApplicationBuilder,Telegrator.Core.IHandlersCollection)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.AspNetCore.Builder.WebApplicationBuilder"/> class.
</summary>
@@ -135,7 +114,7 @@
<param name="webApplicationBuilder"></param>
<param name="settings"></param>
</member>
<member name="M:Telegrator.Hosting.Web.TelegramBotWebHostBuilder.#ctor(Microsoft.AspNetCore.Builder.WebApplicationBuilder,Telegrator.Hosting.Web.TelegramBotWebOptions,Telegrator.MadiatorCore.IHandlersCollection)">
<member name="M:Telegrator.Hosting.Web.TelegramBotWebHostBuilder.#ctor(Microsoft.AspNetCore.Builder.WebApplicationBuilder,Telegrator.Hosting.Web.TelegramBotWebOptions,Telegrator.Core.IHandlersCollection)">
<summary>
Initializes a new instance of the <see cref="T:Telegrator.Hosting.Web.TelegramBotWebHostBuilder"/> class.
</summary>
@@ -203,26 +182,47 @@
Pass true to drop all pending updates
</summary>
</member>
<member name="T:Telegrator.Hosting.Web.ServicesCollectionExtensions">
<member name="T:Telegrator.Mediation.HostedUpdateWebhooker">
<summary>
Contains extensions for <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>
Provides method to configure <see cref="T:Telegrator.Hosting.Web.Components.ITelegramBotWebHost"/>
Service for receiving updates for Hosted telegram bots via Webhooks
</summary>
</member>
<member name="M:Telegrator.Hosting.Web.ServicesCollectionExtensions.AddTelegratorWeb(Microsoft.AspNetCore.Builder.WebApplicationBuilder,Telegrator.Hosting.Web.TelegramBotWebOptions,Telegrator.MadiatorCore.IHandlersCollection)">
<member name="M:Telegrator.Mediation.HostedUpdateWebhooker.#ctor(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder,Telegram.Bot.ITelegramBotClient,Telegrator.Core.IUpdateRouter,Microsoft.Extensions.Options.IOptions{Telegrator.Hosting.Web.TelegratorWebOptions})">
<summary>
Initiallizes new instance of <see cref="T:Telegrator.Mediation.HostedUpdateWebhooker"/>
</summary>
<param name="botHost"></param>
<param name="botClient"></param>
<param name="updateRouter"></param>
<param name="options"></param>
<exception cref="T:System.ArgumentNullException"></exception>
</member>
<member name="M:Telegrator.Mediation.HostedUpdateWebhooker.StartAsync(System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="M:Telegrator.Mediation.HostedUpdateWebhooker.StopAsync(System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="T:Telegrator.ServicesCollectionExtensions">
<summary>
Contains extensions for <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>
Provides method to configure <see cref="T:Telegrator.Hosting.Web.ITelegramBotWebHost"/>
</summary>
</member>
<member name="M:Telegrator.ServicesCollectionExtensions.AddTelegratorWeb(Microsoft.AspNetCore.Builder.WebApplicationBuilder,Telegrator.Hosting.Web.TelegramBotWebOptions,Telegrator.Core.IHandlersCollection)">
<summary>
Replaces TelegramBotWebHostBuilder. Configures DI, options, and handlers.
</summary>
</member>
<member name="M:Telegrator.Hosting.Web.ServicesCollectionExtensions.UseTelegratorWeb(Microsoft.AspNetCore.Builder.WebApplication)">
<member name="M:Telegrator.ServicesCollectionExtensions.UseTelegratorWeb(Microsoft.AspNetCore.Builder.WebApplication)">
<summary>
Replaces the initialization logic from TelegramBotWebHost constructor.
Initializes the bot and logs handlers on application startup.
</summary>
</member>
<member name="M:Telegrator.Hosting.Web.ServicesCollectionExtensions.AddTelegramWebhook(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<member name="M:Telegrator.ServicesCollectionExtensions.AddTelegramWebhook(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<summary>
Registers <see cref="T:Telegram.Bot.ITelegramBotClient"/> service with <see cref="T:Telegrator.Hosting.Web.Polling.HostedUpdateWebhooker"/> to receive updates using webhook
Registers <see cref="T:Telegram.Bot.ITelegramBotClient"/> service with <see cref="T:Telegrator.Mediation.HostedUpdateWebhooker"/> to receive updates using webhook
</summary>
<param name="services"></param>
<returns></returns>
+191 -191
View File
@@ -4,60 +4,21 @@
<name>Telegrator.Hosting</name>
</assembly>
<members>
<member name="T:Telegrator.Hosting.Components.IPreBuildingRoutine">
<summary>
Interface for pre-building routines that can be executed during host construction.
Allows for custom initialization and configuration steps before the bot host is built.
</summary>
</member>
<member name="M:Telegrator.Hosting.Components.IPreBuildingRoutine.PreBuildingRoutine(Telegrator.Hosting.Components.ITelegramBotHostBuilder)">
<summary>
Executes the pre-building routine on the specified host builder.
</summary>
<param name="hostBuilder">The host builder to configure.</param>
</member>
<member name="T:Telegrator.Hosting.Components.ITelegramBotHost">
<summary>
Interface for Telegram bot hosts.
Combines host application capabilities with reactive Telegram bot functionality.
</summary>
</member>
<member name="T:Telegrator.Hosting.Components.ITelegramBotHostBuilder">
<summary>
Interface for building Telegram bot hosts with dependency injection support.
Combines host application building capabilities with handler collection functionality.
</summary>
</member>
<member name="P:Telegrator.Hosting.Components.ITelegramBotHostBuilder.Configuration">
<summary>
Gets the set of key/value configuration properties.
</summary>
</member>
<member name="P:Telegrator.Hosting.Components.ITelegramBotHostBuilder.Logging">
<summary>
Gets a collection of logging providers for the application to compose. This is useful for adding new logging providers.
</summary>
</member>
<member name="P:Telegrator.Hosting.Components.ITelegramBotHostBuilder.Services">
<summary>
Gets a collection of services for the application to compose. This is useful for adding user provided or framework provided services.
</summary>
</member>
<member name="T:Telegrator.Hosting.Configuration.ConfigureOptionsProxy`1">
<member name="T:Telegrator.ConfigureOptionsProxy`1">
<summary>
Abstract base class for configuring options from configuration sources.
Provides a proxy pattern for binding configuration to strongly-typed options classes.
</summary>
<typeparam name="TOptions">The type of options to configure.</typeparam>
</member>
<member name="M:Telegrator.Hosting.Configuration.ConfigureOptionsProxy`1.Configure(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.Configuration.IConfiguration)">
<member name="M:Telegrator.ConfigureOptionsProxy`1.Configure(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.Configuration.IConfiguration)">
<summary>
Configures the options using the default configuration section.
</summary>
<param name="services">The service collection to configure.</param>
<param name="configuration">The configuration source.</param>
</member>
<member name="M:Telegrator.Hosting.Configuration.ConfigureOptionsProxy`1.Configure(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.String,Microsoft.Extensions.Configuration.IConfiguration)">
<member name="M:Telegrator.ConfigureOptionsProxy`1.Configure(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.String,Microsoft.Extensions.Configuration.IConfiguration)">
<summary>
Configures the options using a named configuration section.
</summary>
@@ -65,7 +26,7 @@
<param name="name">The name of the configuration section.</param>
<param name="configuration">The configuration source.</param>
</member>
<member name="M:Telegrator.Hosting.Configuration.ConfigureOptionsProxy`1.Configure(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.String,Microsoft.Extensions.Configuration.IConfiguration,System.Action{Microsoft.Extensions.Configuration.BinderOptions})">
<member name="M:Telegrator.ConfigureOptionsProxy`1.Configure(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.String,Microsoft.Extensions.Configuration.IConfiguration,System.Action{Microsoft.Extensions.Configuration.BinderOptions})">
<summary>
Configures the options using a named configuration section with custom binder options.
</summary>
@@ -74,52 +35,38 @@
<param name="configuration">The configuration source.</param>
<param name="configureBinder">Optional action to configure the binder options.</param>
</member>
<member name="M:Telegrator.Hosting.Configuration.ConfigureOptionsProxy`1.Realize">
<member name="M:Telegrator.ConfigureOptionsProxy`1.Realize">
<summary>
Creates the actual options instance from the configuration.
</summary>
<returns>The configured options instance.</returns>
</member>
<member name="T:Telegrator.Hosting.Configuration.TelegramBotClientOptionsProxy">
<member name="T:Telegrator.Core.IHostHandlersCollection">
<summary>
Internal proxy class for configuring Telegram bot client options from configuration.
Extends ConfigureOptionsProxy to provide specific configuration for Telegram bot client options.
Collection class for managing handler descriptors organized by update type for host apps.
Provides functionality for collecting, adding, scanning, and organizing handlers.
</summary>
</member>
<member name="P:Telegrator.Hosting.Configuration.TelegramBotClientOptionsProxy.Token">
<member name="P:Telegrator.Core.IHostHandlersCollection.PreBuilderRoutines">
<summary>
Gets or sets the bot token.
List of tasks that should be completed right before building the bot
</summary>
</member>
<member name="P:Telegrator.Hosting.Configuration.TelegramBotClientOptionsProxy.BaseUrl">
<member name="T:Telegrator.Handlers.IPreBuildingRoutine">
<summary>
Gets or sets the base URL for the bot API.
Interface for pre-building routines that can be executed during host construction.
Allows for custom initialization and configuration steps before the bot host is built.
</summary>
</member>
<member name="P:Telegrator.Hosting.Configuration.TelegramBotClientOptionsProxy.UseTestEnvironment">
<member name="M:Telegrator.Handlers.IPreBuildingRoutine.PreBuildingRoutine(Telegrator.Hosting.ITelegramBotHostBuilder)">
<summary>
Gets or sets whether to use the test environment.
Executes the pre-building routine on the specified host builder.
</summary>
</member>
<member name="P:Telegrator.Hosting.Configuration.TelegramBotClientOptionsProxy.RetryThreshold">
<summary>
Gets or sets the retry threshold in seconds.
</summary>
</member>
<member name="P:Telegrator.Hosting.Configuration.TelegramBotClientOptionsProxy.RetryCount">
<summary>
Gets or sets the number of retry attempts.
</summary>
</member>
<member name="M:Telegrator.Hosting.Configuration.TelegramBotClientOptionsProxy.Realize">
<summary>
Creates a TelegramBotClientOptions instance from the proxy configuration.
</summary>
<returns>The configured TelegramBotClientOptions instance.</returns>
<param name="hostBuilder">The host builder to configure.</param>
</member>
<member name="T:Telegrator.Hosting.HostedTelegramBotInfo">
<summary>
Implementation of <see cref="T:Telegrator.Configuration.ITelegramBotInfo"/> that provides bot information.
Implementation of <see cref="T:Telegrator.Core.ITelegramBotInfo"/> that provides bot information.
Contains metadata about the Telegram bot including user details and service provider for wider filterring abilities
</summary>
<param name="client"></param>
@@ -128,7 +75,7 @@
</member>
<member name="M:Telegrator.Hosting.HostedTelegramBotInfo.#ctor(Telegram.Bot.ITelegramBotClient,System.IServiceProvider,Microsoft.Extensions.Configuration.IConfigurationManager)">
<summary>
Implementation of <see cref="T:Telegrator.Configuration.ITelegramBotInfo"/> that provides bot information.
Implementation of <see cref="T:Telegrator.Core.ITelegramBotInfo"/> that provides bot information.
Contains metadata about the Telegram bot including user details and service provider for wider filterring abilities
</summary>
<param name="client"></param>
@@ -148,121 +95,32 @@
Provides access to configuration of this Hosted telegram bot
</summary>
</member>
<member name="T:Telegrator.Hosting.Logging.MicrosoftLoggingAdapter">
<member name="T:Telegrator.Hosting.ITelegramBotHost">
<summary>
Adapter for Microsoft.Extensions.Logging to work with Telegrator logging system.
This allows seamless integration with ASP.NET Core logging infrastructure.
Interface for Telegram bot hosts.
Combines host application capabilities with reactive Telegram bot functionality.
</summary>
</member>
<member name="M:Telegrator.Hosting.Logging.MicrosoftLoggingAdapter.#ctor(Microsoft.Extensions.Logging.ILogger)">
<member name="T:Telegrator.Hosting.ITelegramBotHostBuilder">
<summary>
Initializes a new instance of MicrosoftLoggingAdapter.
</summary>
<param name="logger">The Microsoft.Extensions.Logging logger instance.</param>
</member>
<member name="M:Telegrator.Hosting.Logging.MicrosoftLoggingAdapter.Log(Telegrator.Logging.LogLevel,System.String,System.Exception)">
<inheritdoc/>
</member>
<member name="T:Telegrator.Hosting.Polling.HostedUpdateReceiver">
<summary>
Service for receiving updates for Hosted telegram bots
</summary>
<param name="botHost"></param>
<param name="botClient"></param>
<param name="updateRouter"></param>
<param name="options"></param>
<param name="logger"></param>
</member>
<member name="M:Telegrator.Hosting.Polling.HostedUpdateReceiver.#ctor(Telegrator.Hosting.Components.ITelegramBotHost,Telegram.Bot.ITelegramBotClient,Telegrator.MadiatorCore.IUpdateRouter,Microsoft.Extensions.Options.IOptions{Telegram.Bot.Polling.ReceiverOptions},Microsoft.Extensions.Logging.ILogger{Telegrator.Hosting.Polling.HostedUpdateReceiver})">
<summary>
Service for receiving updates for Hosted telegram bots
</summary>
<param name="botHost"></param>
<param name="botClient"></param>
<param name="updateRouter"></param>
<param name="options"></param>
<param name="logger"></param>
</member>
<member name="M:Telegrator.Hosting.Polling.HostedUpdateReceiver.ExecuteAsync(System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="T:Telegrator.Hosting.Polling.HostUpdateHandlersPool">
<inheritdoc/>
</member>
<member name="M:Telegrator.Hosting.Polling.HostUpdateHandlersPool.#ctor(Telegrator.MadiatorCore.IUpdateRouter,Microsoft.Extensions.Options.IOptions{Telegrator.TelegratorOptions})">
<inheritdoc/>
</member>
<member name="T:Telegrator.Hosting.Polling.HostUpdateRouter">
<inheritdoc/>
</member>
<member name="F:Telegrator.Hosting.Polling.HostUpdateRouter.Logger">
<summary>
<see cref="T:Microsoft.Extensions.Logging.ILogger"/> of this router
Interface for building Telegram bot hosts with dependency injection support.
Combines host application building capabilities with handler collection functionality.
</summary>
</member>
<member name="M:Telegrator.Hosting.Polling.HostUpdateRouter.#ctor(Telegrator.MadiatorCore.IHandlersProvider,Telegrator.MadiatorCore.IAwaitingProvider,Microsoft.Extensions.Options.IOptions{Telegrator.TelegratorOptions},Telegrator.MadiatorCore.IUpdateHandlersPool,Telegrator.Configuration.ITelegramBotInfo,Microsoft.Extensions.Logging.ILogger{Telegrator.Hosting.Polling.HostUpdateRouter})">
<inheritdoc/>
</member>
<member name="M:Telegrator.Hosting.Polling.HostUpdateRouter.HandleUpdateAsync(Telegram.Bot.ITelegramBotClient,Telegram.Bot.Types.Update,System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="M:Telegrator.Hosting.Polling.HostUpdateRouter.HandleException(Telegram.Bot.ITelegramBotClient,System.Exception,Telegram.Bot.Polling.HandleErrorSource,System.Threading.CancellationToken)">
<member name="P:Telegrator.Hosting.ITelegramBotHostBuilder.Configuration">
<summary>
Default exception handler of this router
</summary>
<param name="botClient"></param>
<param name="exception"></param>
<param name="source"></param>
<param name="cancellationToken"></param>
</member>
<member name="T:Telegrator.Hosting.Providers.Components.IHostHandlersCollection">
<summary>
Collection class for managing handler descriptors organized by update type for host apps.
Provides functionality for collecting, adding, scanning, and organizing handlers.
Gets the set of key/value configuration properties.
</summary>
</member>
<member name="P:Telegrator.Hosting.Providers.Components.IHostHandlersCollection.PreBuilderRoutines">
<member name="P:Telegrator.Hosting.ITelegramBotHostBuilder.Logging">
<summary>
List of tasks that should be completed right before building the bot
Gets a collection of logging providers for the application to compose. This is useful for adding new logging providers.
</summary>
</member>
<member name="T:Telegrator.Hosting.Providers.HostAwaitingProvider">
<inheritdoc/>
</member>
<member name="M:Telegrator.Hosting.Providers.HostAwaitingProvider.#ctor(Microsoft.Extensions.Options.IOptions{Telegrator.TelegratorOptions},Microsoft.Extensions.Logging.ILogger{Telegrator.Hosting.Providers.HostAwaitingProvider})">
<inheritdoc/>
</member>
<member name="T:Telegrator.Hosting.Providers.PreBuildingRoutine">
<member name="P:Telegrator.Hosting.ITelegramBotHostBuilder.Services">
<summary>
Pre host building task
Gets a collection of services for the application to compose. This is useful for adding user provided or framework provided services.
</summary>
<param name="builder"></param>
</member>
<member name="T:Telegrator.Hosting.Providers.HostHandlersCollection">
<inheritdoc/>
</member>
<member name="M:Telegrator.Hosting.Providers.HostHandlersCollection.#ctor(Microsoft.Extensions.DependencyInjection.IServiceCollection,Telegrator.Configuration.ITelegratorOptions)">
<inheritdoc/>
</member>
<member name="P:Telegrator.Hosting.Providers.HostHandlersCollection.MustHaveParameterlessCtor">
<inheritdoc/>
</member>
<member name="P:Telegrator.Hosting.Providers.HostHandlersCollection.PreBuilderRoutines">
<summary>
List of tasks that should be completed right before building the bot
</summary>
</member>
<member name="M:Telegrator.Hosting.Providers.HostHandlersCollection.AddDescriptor(Telegrator.MadiatorCore.Descriptors.HandlerDescriptor)">
<inheritdoc/>
</member>
<member name="T:Telegrator.Hosting.Providers.HostHandlersProvider">
<inheritdoc/>
</member>
<member name="M:Telegrator.Hosting.Providers.HostHandlersProvider.#ctor(Telegrator.MadiatorCore.IHandlersCollection,Microsoft.Extensions.Options.IOptions{Telegrator.TelegratorOptions},System.IServiceProvider,Microsoft.Extensions.Logging.ILogger{Telegrator.Hosting.Providers.HostHandlersProvider})">
<inheritdoc/>
</member>
<member name="M:Telegrator.Hosting.Providers.HostHandlersProvider.GetHandlerInstance(Telegrator.MadiatorCore.Descriptors.HandlerDescriptor,System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="T:Telegrator.Hosting.TelegramBotHost">
<summary>
@@ -280,7 +138,7 @@
This application's logger
</summary>
</member>
<member name="M:Telegrator.Hosting.TelegramBotHost.#ctor(Microsoft.Extensions.Hosting.HostApplicationBuilder,Telegrator.MadiatorCore.IHandlersCollection)">
<member name="M:Telegrator.Hosting.TelegramBotHost.#ctor(Microsoft.Extensions.Hosting.HostApplicationBuilder,Telegrator.Core.IHandlersCollection)">
<summary>
Initializes a new instance of the <see cref="T:Telegrator.Hosting.TelegramBotHost"/> class.
</summary>
@@ -349,7 +207,7 @@
<param name="hostApplicationBuilder"></param>
<param name="settings"></param>
</member>
<member name="M:Telegrator.Hosting.TelegramBotHostBuilder.#ctor(Microsoft.Extensions.Hosting.HostApplicationBuilder,Telegrator.MadiatorCore.IHandlersCollection,Telegrator.Hosting.TelegramBotHostBuilderSettings)">
<member name="M:Telegrator.Hosting.TelegramBotHostBuilder.#ctor(Microsoft.Extensions.Hosting.HostApplicationBuilder,Telegrator.Core.IHandlersCollection,Telegrator.Hosting.TelegramBotHostBuilderSettings)">
<summary>
Initializes a new instance of the <see cref="T:Telegrator.Hosting.TelegramBotHostBuilder"/> class.
</summary>
@@ -396,20 +254,162 @@
<member name="P:Telegrator.Hosting.TelegramBotHostBuilderSettings.ContentRootPath">
<inheritdoc cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ContentRootPath"/>
</member>
<member name="M:Telegrator.Hosting.HostBuilderExtensions.AddTelegrator(Microsoft.Extensions.Hosting.IHostApplicationBuilder,Telegrator.Hosting.TelegramBotHostBuilderSettings,Telegrator.MadiatorCore.IHandlersCollection)">
<member name="T:Telegrator.Logging.MicrosoftLoggingAdapter">
<summary>
Adapter for Microsoft.Extensions.Logging to work with Telegrator logging system.
This allows seamless integration with ASP.NET Core logging infrastructure.
</summary>
</member>
<member name="M:Telegrator.Logging.MicrosoftLoggingAdapter.#ctor(Microsoft.Extensions.Logging.ILogger)">
<summary>
Initializes a new instance of MicrosoftLoggingAdapter.
</summary>
<param name="logger">The Microsoft.Extensions.Logging logger instance.</param>
</member>
<member name="M:Telegrator.Logging.MicrosoftLoggingAdapter.Log(Telegrator.Logging.LogLevel,System.String,System.Exception)">
<inheritdoc/>
</member>
<member name="T:Telegrator.Polling.HostedUpdateReceiver">
<summary>
Service for receiving updates for Hosted telegram bots
</summary>
<param name="botHost"></param>
<param name="botClient"></param>
<param name="updateRouter"></param>
<param name="options"></param>
<param name="logger"></param>
</member>
<member name="M:Telegrator.Polling.HostedUpdateReceiver.#ctor(Telegrator.Hosting.ITelegramBotHost,Telegram.Bot.ITelegramBotClient,Telegrator.Core.IUpdateRouter,Microsoft.Extensions.Options.IOptions{Telegram.Bot.Polling.ReceiverOptions},Microsoft.Extensions.Logging.ILogger{Telegrator.Polling.HostedUpdateReceiver})">
<summary>
Service for receiving updates for Hosted telegram bots
</summary>
<param name="botHost"></param>
<param name="botClient"></param>
<param name="updateRouter"></param>
<param name="options"></param>
<param name="logger"></param>
</member>
<member name="M:Telegrator.Polling.HostedUpdateReceiver.ExecuteAsync(System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="T:Telegrator.Polling.HostUpdateHandlersPool">
<inheritdoc/>
</member>
<member name="M:Telegrator.Polling.HostUpdateHandlersPool.#ctor(Telegrator.Core.IUpdateRouter,Microsoft.Extensions.Options.IOptions{Telegrator.TelegratorOptions})">
<inheritdoc/>
</member>
<member name="T:Telegrator.Polling.HostUpdateRouter">
<inheritdoc/>
</member>
<member name="F:Telegrator.Polling.HostUpdateRouter.Logger">
<summary>
<see cref="T:Microsoft.Extensions.Logging.ILogger"/> of this router
</summary>
</member>
<member name="M:Telegrator.Polling.HostUpdateRouter.#ctor(Telegrator.Core.IHandlersProvider,Telegrator.Core.IAwaitingProvider,Microsoft.Extensions.Options.IOptions{Telegrator.TelegratorOptions},Telegrator.Core.IUpdateHandlersPool,Telegrator.Core.ITelegramBotInfo,Microsoft.Extensions.Logging.ILogger{Telegrator.Polling.HostUpdateRouter})">
<inheritdoc/>
</member>
<member name="M:Telegrator.Polling.HostUpdateRouter.HandleUpdateAsync(Telegram.Bot.ITelegramBotClient,Telegram.Bot.Types.Update,System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="M:Telegrator.Polling.HostUpdateRouter.HandleException(Telegram.Bot.ITelegramBotClient,System.Exception,Telegram.Bot.Polling.HandleErrorSource,System.Threading.CancellationToken)">
<summary>
Default exception handler of this router
</summary>
<param name="botClient"></param>
<param name="exception"></param>
<param name="source"></param>
<param name="cancellationToken"></param>
</member>
<member name="T:Telegrator.Providers.HostAwaitingProvider">
<inheritdoc/>
</member>
<member name="M:Telegrator.Providers.HostAwaitingProvider.#ctor(Microsoft.Extensions.Options.IOptions{Telegrator.TelegratorOptions},Microsoft.Extensions.Logging.ILogger{Telegrator.Providers.HostAwaitingProvider})">
<inheritdoc/>
</member>
<member name="T:Telegrator.Providers.PreBuildingRoutine">
<summary>
Pre host building task
</summary>
<param name="builder"></param>
</member>
<member name="T:Telegrator.Providers.HostHandlersCollection">
<inheritdoc/>
</member>
<member name="M:Telegrator.Providers.HostHandlersCollection.#ctor(Microsoft.Extensions.DependencyInjection.IServiceCollection,Telegrator.TelegratorOptions)">
<inheritdoc/>
</member>
<member name="P:Telegrator.Providers.HostHandlersCollection.MustHaveParameterlessCtor">
<inheritdoc/>
</member>
<member name="P:Telegrator.Providers.HostHandlersCollection.PreBuilderRoutines">
<summary>
List of tasks that should be completed right before building the bot
</summary>
</member>
<member name="M:Telegrator.Providers.HostHandlersCollection.AddDescriptor(Telegrator.Core.Descriptors.HandlerDescriptor)">
<inheritdoc/>
</member>
<member name="T:Telegrator.Providers.HostHandlersProvider">
<inheritdoc/>
</member>
<member name="M:Telegrator.Providers.HostHandlersProvider.#ctor(Telegrator.Core.IHandlersCollection,Microsoft.Extensions.Options.IOptions{Telegrator.TelegratorOptions},System.IServiceProvider,Microsoft.Extensions.Logging.ILogger{Telegrator.Providers.HostHandlersProvider})">
<inheritdoc/>
</member>
<member name="M:Telegrator.Providers.HostHandlersProvider.GetHandlerInstance(Telegrator.Core.Descriptors.HandlerDescriptor,System.Threading.CancellationToken)">
<inheritdoc/>
</member>
<member name="T:Telegrator.TelegramBotClientOptionsProxy">
<summary>
Internal proxy class for configuring Telegram bot client options from configuration.
Extends ConfigureOptionsProxy to provide specific configuration for Telegram bot client options.
</summary>
</member>
<member name="P:Telegrator.TelegramBotClientOptionsProxy.Token">
<summary>
Gets or sets the bot token.
</summary>
</member>
<member name="P:Telegrator.TelegramBotClientOptionsProxy.BaseUrl">
<summary>
Gets or sets the base URL for the bot API.
</summary>
</member>
<member name="P:Telegrator.TelegramBotClientOptionsProxy.UseTestEnvironment">
<summary>
Gets or sets whether to use the test environment.
</summary>
</member>
<member name="P:Telegrator.TelegramBotClientOptionsProxy.RetryThreshold">
<summary>
Gets or sets the retry threshold in seconds.
</summary>
</member>
<member name="P:Telegrator.TelegramBotClientOptionsProxy.RetryCount">
<summary>
Gets or sets the number of retry attempts.
</summary>
</member>
<member name="M:Telegrator.TelegramBotClientOptionsProxy.Realize">
<summary>
Creates a TelegramBotClientOptions instance from the proxy configuration.
</summary>
<returns>The configured TelegramBotClientOptions instance.</returns>
</member>
<member name="M:Telegrator.HostBuilderExtensions.AddTelegrator(Microsoft.Extensions.Hosting.IHostApplicationBuilder,Telegrator.Hosting.TelegramBotHostBuilderSettings,Telegrator.Core.IHandlersCollection)">
<summary>
Replaces TelegramBotWebHostBuilder. Configures DI, options, and handlers.
</summary>
</member>
<member name="T:Telegrator.Hosting.ServicesCollectionExtensions">
<member name="T:Telegrator.ServicesCollectionExtensions">
<summary>
Contains extensions for <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>
Provides method to configure <see cref="T:Telegrator.Hosting.Components.ITelegramBotHost"/>
Provides method to configure <see cref="T:Telegrator.Hosting.ITelegramBotHost"/>
</summary>
</member>
<member name="M:Telegrator.Hosting.ServicesCollectionExtensions.Configure``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.Configuration.IConfiguration,Telegrator.Hosting.Configuration.ConfigureOptionsProxy{``0})">
<member name="M:Telegrator.ServicesCollectionExtensions.Configure``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.Configuration.IConfiguration,Telegrator.ConfigureOptionsProxy{``0})">
<summary>
Registers a configuration instance that strongly-typed <typeparamref name="TOptions"/> will bind against using <see cref="T:Telegrator.Hosting.Configuration.ConfigureOptionsProxy`1"/>.
Registers a configuration instance that strongly-typed <typeparamref name="TOptions"/> will bind against using <see cref="T:Telegrator.ConfigureOptionsProxy`1"/>.
</summary>
<typeparam name="TOptions"></typeparam>
<param name="services"></param>
@@ -417,21 +417,21 @@
<param name="optionsProxy"></param>
<returns></returns>
</member>
<member name="M:Telegrator.Hosting.ServicesCollectionExtensions.AddTelegramBotHostDefaults(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<member name="M:Telegrator.ServicesCollectionExtensions.AddTelegramBotHostDefaults(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<summary>
Registers <see cref="T:Telegrator.Hosting.TelegramBotHost"/> default services
</summary>
<param name="services"></param>
<returns></returns>
</member>
<member name="M:Telegrator.Hosting.ServicesCollectionExtensions.AddTelegramReceiver(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<member name="M:Telegrator.ServicesCollectionExtensions.AddTelegramReceiver(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<summary>
Registers <see cref="T:Telegram.Bot.ITelegramBotClient"/> service with <see cref="T:Telegrator.Hosting.Polling.HostedUpdateReceiver"/> to receive updates using long polling
Registers <see cref="T:Telegram.Bot.ITelegramBotClient"/> service with <see cref="T:Telegrator.Polling.HostedUpdateReceiver"/> to receive updates using long polling
</summary>
<param name="services"></param>
<returns></returns>
</member>
<member name="M:Telegrator.Hosting.ServicesCollectionExtensions.TypedTelegramBotClientFactory(System.Net.Http.HttpClient,System.IServiceProvider)">
<member name="M:Telegrator.ServicesCollectionExtensions.TypedTelegramBotClientFactory(System.Net.Http.HttpClient,System.IServiceProvider)">
<summary>
<see cref="T:Telegram.Bot.ITelegramBotClient"/> factory method
</summary>
@@ -439,38 +439,38 @@
<param name="provider"></param>
<returns></returns>
</member>
<member name="T:Telegrator.Hosting.TelegramBotHostExtensions">
<member name="T:Telegrator.TelegramBotHostExtensions">
<summary>
Provides useful methods to adjust <see cref="T:Telegrator.Hosting.Components.ITelegramBotHost"/>
Provides useful methods to adjust <see cref="T:Telegrator.Hosting.ITelegramBotHost"/>
</summary>
</member>
<member name="M:Telegrator.Hosting.TelegramBotHostExtensions.UseTelegrator(Microsoft.Extensions.Hosting.IHost)">
<member name="M:Telegrator.TelegramBotHostExtensions.UseTelegrator(Microsoft.Extensions.Hosting.IHost)">
<summary>
Replaces the initialization logic from TelegramBotWebHost constructor.
Initializes the bot and logs handlers on application startup.
</summary>
</member>
<member name="M:Telegrator.Hosting.TelegramBotHostExtensions.SetBotCommands(Microsoft.Extensions.Hosting.IHost)">
<member name="M:Telegrator.TelegramBotHostExtensions.SetBotCommands(Microsoft.Extensions.Hosting.IHost)">
<summary>
Configures bots available commands depending on what handlers was registered
</summary>
<param name="botHost"></param>
<returns></returns>
</member>
<member name="M:Telegrator.Hosting.TelegramBotHostExtensions.AddLoggingAdapter(Microsoft.Extensions.Hosting.IHost)">
<member name="M:Telegrator.TelegramBotHostExtensions.AddLoggingAdapter(Microsoft.Extensions.Hosting.IHost)">
<summary>
Adds a Microsoft.Extensions.Logging adapter to Alligator using a logger factory.
</summary>
<param name="host"></param>
</member>
<member name="T:Telegrator.Hosting.ReflectionExtensions">
<member name="T:Telegrator.ReflectionExtensions">
<summary>
Provides extension methods for reflection and type inspection.
</summary>
</member>
<member name="M:Telegrator.Hosting.ReflectionExtensions.IsPreBuildingRoutine(System.Type,System.Reflection.MethodInfo@)">
<member name="M:Telegrator.ReflectionExtensions.IsPreBuildingRoutine(System.Type,System.Reflection.MethodInfo@)">
<summary>
Checks if a type implements the <see cref="T:Telegrator.Hosting.Components.IPreBuildingRoutine"/> interface.
Checks if a type implements the <see cref="T:Telegrator.Handlers.IPreBuildingRoutine"/> interface.
</summary>
<param name="handlerType">The type to check.</param>
<param name="routineMethod"></param>
+2324 -2350
View File
File diff suppressed because it is too large Load Diff