Ejemplo n.º 1
0
 public static FileInfo GetStatusFileInfo(this ExecutionSchedule s, DirectoryInfo rootDirectory)
 => PathEx.RuntimeCombine(rootDirectory.FullName, $"{(s.GetFileSafeId() ?? "tmp")}.json").ToFileInfo();
Ejemplo n.º 2
0
 public static FileInfo GetLogFileInfo(this ExecutionSchedule s, DirectoryInfo logDirectory)
 => PathEx.RuntimeCombine(logDirectory.FullName, $"{(s.GetFileSafeId() ?? "tmp")}.log").ToFileInfo();