private void InitializeLogSource() { ILogFormat logFormat; using (var fileStream = File.Open(this.dumpFilePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) logFormat = this.SelectLogFormat(fileStream); this.fileSource = new FileLogSource(this.dumpFilePath, logFormat); this.fileSourceCreated.Set(); }