public IDisposable BeginScope <TState>(TState state) { if (state == null) { throw new ArgumentNullException(nameof(state)); } if (m_ScopeManager == null) { m_ScopeManager = new IsolatedStorageLogScopeManager(state); } var scope = m_ScopeManager.Push(state); return(scope); }
public DisposableScope(string scopeName, IsolatedStorageLogScopeManager scopeMgr) { this.m_ScopeMgr = scopeMgr; this.m_ScopeName = scopeName; }