コード例 #1
0
        public void GetTask(string fileName)
        {
            var validateFileName = new VerifierFileAndStatus(fileName);

            fileName = validateFileName.VerifyFileName();
            var xml = new XMLRepository(fileName);
            // xml.GetTasks();
        }
コード例 #2
0
        public void UpdateStatus(string id, string status, string fileName)
        {
            var validateFileAndStatus = new VerifierFileAndStatus(fileName, status);

            status   = validateFileAndStatus.VerifyStatus();
            fileName = validateFileAndStatus.VerifyFileName();
            var xml = new XMLRepository(fileName);
            // xml.UpdateStatus(id, status);
        }
コード例 #3
0
        public void UpdateDate(string id, string date, string fileName)
        {
            var validateFileAndStatus = new VerifierFileAndStatus(fileName);

            fileName = validateFileAndStatus.VerifyFileName();
            var validateDateAndDuDate = new VerifierDateAndDueDate(date);
            var tempdate = validateDateAndDuDate.VerifyTempDate();
            var xml      = new XMLRepository(fileName);
            // xml.UpdateDate(id, tempdate);
        }
コード例 #4
0
 public TaskService(string fileName)
 {
     this.repository = new XMLRepository(fileName);
 }