public RuntimeEnvironment(BootstrapperContext bootstrapperContext) { // Use the DefaultRuntimeEnvironment to detect the OS details rather than bootstrapper context (temporary, this is probably going away anyway) var defaultEnv = new DefaultRuntimeEnvironment(); OperatingSystem = defaultEnv.OperatingSystem; OperatingSystemVersion = defaultEnv.OperatingSystemVersion; OperatingSystemPlatform = defaultEnv.OperatingSystemPlatform; RuntimeType = bootstrapperContext.RuntimeType; RuntimeArchitecture = bootstrapperContext.Architecture; RuntimePath = bootstrapperContext.RuntimeDirectory; }
public DefaultPlatformServices() { Application = new DefaultApplicationEnvironment(); Runtime = new DefaultRuntimeEnvironment(); }