protected override void Dispose(bool disposing) { if (disposing) { _fileWriter?.Dispose(); _fileWriter = null; } base.Dispose(disposing); }
protected override void CloseTarget() { _fileWriter?.Dispose(); _fileWriter = null; }
protected override void InitializeTarget() { base.InitializeTarget(); _fileWriter = new LazyFileWriter(Layout, 100000, "%TEMP%\\XFileTarget\\DraftFile.txt"); }