Esempio n. 1
0
 //1. We move this unnecessary code to CommonRoutine class
 //public bool IsEmpty(string value)
 //{
 //    if (value.Length == 0)
 //    {
 //        return true;
 //    }
 //    return false;
 //}
 public void Insert()
 {
     CommonRoutine.count++;
     if (!CommonRoutine.IsEmpty(CustomerCode) && !CommonRoutine.IsEmpty(CustomerName))
     {
     }
 }
Esempio n. 2
0
 public void Insert()
 {
     //Record country info into the db
     CommonRoutine.count++;
     if (!CommonRoutine.IsEmpty(CountryCode) && !CommonRoutine.IsEmpty(CountryName))
     {
     }
 }
Esempio n. 3
0
        //private PageScraper PageScraper { get; set; }

        public PageAutomation(HTMLDocument HtmlDocument)
        {
            this.Document = HtmlDocument;
            this.CommonAutomationRoutine = new CommonRoutine(HtmlDocument);
        }
Esempio n. 4
0
 public CustomerClass()
 {
     MachineName = CommonRoutine.GetComputerName();
 }