public Session() { Logger = new Logger(); using (Logger.CreateCallstackAndLock()) { Timeout = new TimeSpan(0, 1, 0); _reconnectTime = TimeSpan.MaxValue; Output = new StringCollection(); _operationResults = new List<OperationResultBase>(); _events = new List<Action>(); _eventsEvent = new AutoResetEvent(false); _disposed = false; _defaultConfiguration = true; _logUnique = 0; _guardProcessWithJob = true; } }
public Session() { Logger = new Logger(); using (Logger.CreateCallstackAndLock()) { Timeout = new TimeSpan(0, 1, 0); _reconnectTime = new TimeSpan(0, 2, 0); // keep in sync with TScript::OptionImpl Output = new StringCollection(); _operationResults = new List<OperationResultBase>(); _events = new List<Action>(); _eventsEvent = new AutoResetEvent(false); _disposed = false; _defaultConfiguration = true; _logUnique = 0; _guardProcessWithJob = true; RawConfiguration = new Dictionary<string, string>(); } }