Esempio n. 1
0
        private void AddResult()
        {
            SmartFile _file = new SmartFile(OutputFile);

            if (IsAccept(Url) && !IsExits(Url))
            {
                Page = new WebPage(Url);
                DateTime _time = DateTime.Now;
                _file.AddLineBefore("{" + _time + "}" + "{Title}{" + Page.Title.ToStandard() + "}");
                _file.Save();
                _file.AddLineBefore("{" + _time + "}" + "{Url}{" + Url + "}");
                _file.Save();
            }
        }
Esempio n. 2
0
 public void Save()
 {
     SmartFile.Save();
 }