/// <summary>
        /// Gets the configuration document content
        /// </summary>
        /// <param name="fs"></param>
        /// <returns></returns>
        public static string GetConfigurationContent(this IFeatureSource fs)
        {
            Check.NotNull(fs, "fs"); //NOXLATE
            if (string.IsNullOrEmpty(fs.ConfigurationDocument))
            {
                return(string.Empty);
            }

            var content = fs.GetResourceData(fs.ConfigurationDocument);

            if (content != null)
            {
                using (var sr = new StreamReader(content))
                {
                    return(sr.ReadToEnd());
                }
            }
            return(string.Empty);
        }