コード例 #1
0
        public void AddCompare(AutomationTask task, string fileAPath, string fileAHash, string fileBPath, string fileBHash, AutomationCompareMode compareMode)
        {
            AutomationCompare compare = new AutomationCompare()
            {
                CompareAFilepath = fileAPath,
                CompareAHash     = fileAHash,
                CompareBFilepath = fileBPath,
                CompareBHash     = fileBHash,
                CompareMode      = compareMode
            };

            AddCompare(task, compare);
        }
コード例 #2
0
 public void AddCompare(AutomationTask task, AutomationCompare compare)
 {
     compare.AutomationTask = task;
     AutomationCompares.Add(compare);
 }