public ResourceMode GetCurrentResourceMode() { var compilationSection = _configLoader.GetSection <CompilationSection>("system.web/compilation"); if (compilationSection == null) { return(ResourceMode.Release); } else { return(compilationSection.Debug ? ResourceMode.Debug : ResourceMode.Release); } }
private ResourceMode GetResourceMode() { var compilationSection = _configLoader.GetSection <CompilationSection>("system.web/compilation"); return(compilationSection.Debug ? ResourceMode.Debug : ResourceMode.Release); }