public RunContext Get() { RunConfig config = _configSrc.Load(); if (config.IsUndefined()) { throw new RunConfigUndefinedException(); } string connectionStr = _hostCtx.GetCurrentConnectionString(); SqlConnectionStringBuilder builder = new SqlConnectionStringBuilder(connectionStr); return(new RunContext() { Config = config, ConnectionString = builder, }); }