public static FileSearcher JsonFileByExtension(this SettingsLoader loader)
        {
            var searcher = new FileSearcher(JsonFileSettings.Create, "js", "json");

            loader.AddHandler <IncludeFileConfig>("IncludeFile", searcher);
            return(searcher);
        }
Exemplo n.º 2
0
        public static FileSearcher XmlFileBySection(this SettingsLoader loader)
        {
            var searcher = new FileSearcher(XmlFileSettings.Create);

            loader.AddHandler <IncludeFileConfig>("IncludeXmlFile", searcher);
            return(searcher);
        }