示例#1
0
 public void CreateFile(string filePath)
 {
     try
     {
         _environmentFileService.Create(filePath);
     }
     catch (Exception ex)
     {
         _logger.LogError($"Failed to create file {filePath} with error {ex}");
     }
 }
示例#2
0
 public void Create(string filePath) => _environmentFileService.Create(filePath);