public RocketUnturnedHost(IDependencyContainer container) { string rocketDirectory = $"Servers/{Dedicator.serverID}/Rocket/"; if (!Directory.Exists(rocketDirectory)) { Directory.CreateDirectory(rocketDirectory); } Directory.SetCurrentDirectory(rocketDirectory); Console = new StdConsole(container); }
public ConsoleHost(IRuntime runtime) { Console = new StdConsole(runtime.Container); }
/// <inheritdoc /> public EcoHost(IDependencyContainer container) { Console = new StdConsole(container); }
public TestHost(IDependencyContainer container, ILogger logger) { this.logger = logger; Console = new StdConsole(container); }