16 lines
397 B
C#
16 lines
397 B
C#
using xCommons.Extensions;
|
|
using xMT5BridgeService.Providers;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace xMT5BridgeService.DI
|
|
{
|
|
public static class XDIHelperExtension
|
|
{
|
|
public static void AddXMT5BridgeService(
|
|
this IServiceCollection source
|
|
)
|
|
{
|
|
source.AddXBackgroundService<XMT5ZQBridgeBackgroundService>();
|
|
}
|
|
}
|
|
} |