protected void Construct() { DataWrittenEvent += new DataWrittenDelegate(FileWriterHelper_DataWrittenEvent); _actualFilePath = string.Empty; _lastFlush = DateTime.MinValue; _writer = null; _stream = null; _logFileNumber = 0; }
protected void Construct() { _syncRoot = new object(); lock (_syncRoot) { DataWrittenEvent += new DataWrittenDelegate(FileWriterHelper_DataWrittenEvent); _actualFilePath = string.Empty; _lastFlush = DateTime.MinValue; _writer = null; _stream = null; _logFileNumber = 0; } }