Implemented first iteration of the docker-based server installer. Added restore functionality for the installer. Wired up for basic installer testing
This commit is contained in:
@@ -16,10 +16,10 @@ public class ServerFactory
|
||||
{
|
||||
var scope = ServiceProvider.CreateAsyncScope();
|
||||
|
||||
var meta = scope.ServiceProvider.GetRequiredService<ServerContext>();
|
||||
var context = scope.ServiceProvider.GetRequiredService<ServerContext>();
|
||||
|
||||
meta.Configuration = configuration;
|
||||
meta.ServiceScope = scope;
|
||||
context.Configuration = configuration;
|
||||
context.ServiceScope = scope;
|
||||
|
||||
return scope.ServiceProvider.GetRequiredService<Server>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user