예제 #1
0
        private void ImportUserQueriesFromFile(UserQueriesContainer uqc)
        {
            var file = Server.MapPath("~/" + filename);

            if (System.IO.File.Exists(file))
            {
                uqc.ImportFromXML(file);
            }
        }
예제 #2
0
        private void ImportUserQueries(UserQueriesContainer uqc)
        {
            var file = Server.MapPath("UserQueriesStructure.xml");

            if (File.Exists(file))
            {
                uqc.ImportFromXML(file);
            }
        }
        private void ImportUserQueriesFromFile(UserQueriesContainer uqc)
        {
            var file = _env.WebRootPath + @"/../" + filename;

            if (System.IO.File.Exists(file))
            {
                uqc.ImportFromXML(file);
            }
        }