Exemplo 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))
     {
     }
 }
Exemplo n.º 2
0
 public void Insert()
 {
     //Record country info into the db
     CommonRoutine.count++;
     if (!CommonRoutine.IsEmpty(CountryCode) && !CommonRoutine.IsEmpty(CountryName))
     {
     }
 }
Exemplo n.º 3
0
        //private PageScraper PageScraper { get; set; }

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