Пример #1
0
 private void WriteFile(FileLibrary file, string fileName, string fullPath, GeneratorCriteria criteria)
 {
     if (file.CanWrite(fullPath))
     {
         if (file.CanGenerate(fullPath, criteria.ReGenCheck))
         {
             file.Write(fullPath, criteria);
         }
     }
     else
     {
         Error = ERROR_MESSAGE + "[" + fileName + "]";
     }
 }