public static void StartTestServer <T1, T2>(out string baseAddress, out BamServer server) { InjectTestConfiguration(); // Test server to catch calls CreateServer(out baseAddress, out server); server.AddCommonService <T1>(); server.AddCommonService <T2>(); server.Start(true); // /end- Test server to catch calls }
private static void StartTestServer <T>(ILogger logger, out string baseAddress, out BamServer server) { InjectTestConfiguration(); // Test server to catch calls CreateServer(out baseAddress, out server); server.MainLogger = logger; server.AddCommonService <T>(); Servers.Add(server); server.Start(); // /end- Test server to catch calls }
public static void AddService <T>(BamServer server) { server.AddCommonService <T>(); }
private static void AddService <T>(BamServer server) { server.AddCommonService <T>(); }