refactor uncompleted works exists in Bot Service ...
This commit is contained in:
@@ -23,6 +23,7 @@ using Microsoft.Extensions.Configuration;
|
||||
using xBotService.Interfaces.Entities.Dtos;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using ConfigurationNodeNames = xBotService.Constants.ConfigurationNodeNames;
|
||||
using xBotService.Reciever;
|
||||
|
||||
namespace xBotService.DI
|
||||
{
|
||||
@@ -330,10 +331,15 @@ namespace xBotService.DI
|
||||
);
|
||||
|
||||
//
|
||||
// Bot Provider Registration ...
|
||||
services.Add(
|
||||
new ServiceDescriptor(typeof(IXBotProvider), typeof(XBotProvider), lifeTime)
|
||||
);
|
||||
|
||||
//
|
||||
// Using Bot Update Reciever ...
|
||||
services.AddXBackgroundService<XBotBotUpdateRecieverBackgroundService>();
|
||||
|
||||
//
|
||||
Log("Service Registration Succeed ...");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user