/// <summary> /// construct an Automation Engine /// </summary> /// <param name="parser">the file parser</param> /// <param name="workingDir">the working directory</param> /// public Automation(IFileParser parser, IReporter reporter, string workingDir = "") : this(workingDir) { Parser = parser; Parser.WorkingDir = workingDir; Reporter = reporter; Reporter.WorkingDir = workingDir; }
/// <summary> /// constructor /// </summary> /// <param name="parser">the file parser</param> public ExcelReporter(IFileParser parser) : base(parser) { }
public Script(IFileParser parser) : base(parser) { CurrentLineNumber = 0; }
// Muc dich cua cai nay dung de doc du lieu INF, DATA, SCRIPT lên // cái Process data là trong moi cai no doc len va co cai gi va dua vao bo du lieu // Contructor public SourceFile(IFileParser parser) { Parser = parser; ProcessData(); }
/// <summary> /// contructor /// </summary> /// <param name="parser"></param> /// public Data(IFileParser parser) : base(parser) { }
public Interface(IFileParser parser) : base(parser) { }
//---- New Project private void radMenuItem11_Click(object sender, EventArgs e) { //Show Form NewProject _newproject = new NewProject(); _newproject.ShowDialog(); // Dua Vao CAY DirectoryTreeview NewDir = treeView as DirectoryTreeview; // NewDir.PathTree = _newproject.duongdanproject; pathproject = _newproject.duongdanproject; string Pathproject = duongdanproject; NewDir.NameProject = _newproject._nameproject; DirectoryTreeview Tree = treeView as DirectoryTreeview; Tree.PathTree = Pathproject; Tree.Runother(); IFileParser WorkDir = new IFileParser(); WorkDir.WorkingDir = duongdanproject; }
//----------------------------------------------------- public int CountColmsv(string path) { IFileParser IF = new IFileParser(); int cot = IF.CountCoulum(path); return cot; }