AjaxControlToolkit.Bundling.BundleResolver.ReadConfiguration C# (CSharp) Method

ReadConfiguration() private method

private ReadConfiguration ( string fileName ) : string
fileName string
return string
        string ReadConfiguration(string fileName)
        {
            var text = _cache.Get<string>(ConfigCacheKey);
            if(!String.IsNullOrEmpty(text))
                return text;

            text = File.ReadAllText(fileName);
            _cache.Set(ConfigCacheKey, text, fileName);
            return text;
        }