static internal IServerConfig GetInstance() { if (s_instance == null) { lock (s_initLock) { if (s_instance == null) { s_instance = new ProcessHostServerConfig(); } } } return s_instance; }
internal static IServerConfig GetInstance() { if (UseMetabase) { return(MetabaseServerConfig.GetInstance()); } if (IISExpressVersion == null) { return(ProcessHostServerConfig.GetInstance()); } return(ExpressServerConfig.GetInstance(IISExpressVersion)); }
static internal IServerConfig GetInstance() { if (s_instance == null) { lock (s_initLock) { if (s_instance == null) { s_instance = new ProcessHostServerConfig(); } } } return(s_instance); }
static internal IServerConfig GetInstance() { // IIS 7 bits on <= IIS 6: use the metabase if (UseMetabase) { return(MetabaseServerConfig.GetInstance()); } if (IISExpressVersion == null) { return(ProcessHostServerConfig.GetInstance()); } return(ExpressServerConfig.GetInstance(IISExpressVersion)); }