* Simplified creation of webhost
* Removed dependency from TelegramBotWebHost abstraction insode Webhooker * Added extension methods for ASP.NET host
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Telegrator.MadiatorCore;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Telegrator.Hosting.Providers
|
||||
/// Pre host building task
|
||||
/// </summary>
|
||||
/// <param name="builder"></param>
|
||||
public delegate void PreBuildingRoutine(ITelegramBotHostBuilder builder);
|
||||
public delegate void PreBuildingRoutine(IApplicationBuilder builder);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public class HostHandlersCollection(IServiceCollection hostServiceColletion, ITelegratorOptions options) : HandlersCollection(options), IHostHandlersCollection
|
||||
|
||||
Reference in New Issue
Block a user