Compare commits
2
Commits
85b16cb80e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d91d92c70 | ||
|
|
08cab60c36 |
@@ -18,7 +18,6 @@ using xServices.Databases;
|
|||||||
using xServices.Providers;
|
using xServices.Providers;
|
||||||
using xPushService.Helpers;
|
using xPushService.Helpers;
|
||||||
using xServices.Interfaces;
|
using xServices.Interfaces;
|
||||||
using xMT5BridgeService.DI;
|
|
||||||
using xServices.Configurations;
|
using xServices.Configurations;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.AspNetCore.Builder;
|
using Microsoft.AspNetCore.Builder;
|
||||||
@@ -262,23 +261,6 @@ namespace xServices.DI
|
|||||||
config = new XServicesConfiguration();
|
config = new XServicesConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Register xMT5BridgeService ...
|
|
||||||
// services.AddXMT5BridgeService();
|
|
||||||
|
|
||||||
//
|
|
||||||
var defServiceConfig = new XServicesConfiguration();
|
|
||||||
var sServiceConfig = new XServicesConfiguration
|
|
||||||
{
|
|
||||||
Name = "SaherElm"
|
|
||||||
};
|
|
||||||
services.AddXKeyedService<XServicesConfiguration>(defServiceConfig.Name);
|
|
||||||
services.AddXKeyedService<XServicesConfiguration>(sServiceConfig.Name);
|
|
||||||
|
|
||||||
//
|
|
||||||
var sS = services.GetXKeyedService<XServicesConfiguration>(sServiceConfig.Name);
|
|
||||||
var defS = services.GetXKeyedService<XServicesConfiguration>(defServiceConfig.Name);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Storage Service ...
|
// Storage Service ...
|
||||||
services.AddXStorageService(configuration);
|
services.AddXStorageService(configuration);
|
||||||
|
|||||||
Reference in New Issue
Block a user