コード例 #1
0
ファイル: LogFile.cs プロジェクト: ihvrooman/LogViewer
 /// <summary>
 /// Creates a new <see cref="LogFile"/>.
 /// </summary>
 /// <param name="path">The log file's path.</param>
 /// <param name="keepCurrent">A <see cref="bool"/> indicating whether or not the log file should be kept up to date in memory.</param>
 /// <param name="parentLogFolder">The log file's parent <see cref="LogFolder"/>.</param>
 public LogFile(string path, bool keepCurrent, LogFolder parentLogFolder)
 {
     ParentLogFolder = parentLogFolder;
     KeepCurrent     = keepCurrent;
     InitializeAsync(path);
 }
コード例 #2
0
ファイル: LogFile.cs プロジェクト: ihvrooman/LogViewer
 /// <summary>
 /// Creates a new <see cref="LogFile"/>.
 /// </summary>
 /// <param name="path">The log file's path.</param>
 /// <param name="parentLogFolder">The log file's parent <see cref="LogFolder"/>.</param>
 public LogFile(string path, LogFolder parentLogFolder)
 {
     ParentLogFolder = parentLogFolder;
     InitializeAsync(path);
 }