internal void OnLoad(IDictionary<XName, object> readWriteValues) { lock (this.ThisLock) { object obj2; if ((readWriteValues != null) && readWriteValues.TryGetValue(timerTableName, out obj2)) { this.registeredTimers = obj2 as TimerTable; this.RegisteredTimers.OnLoad(this); } } }
internal void OnLoad(IDictionary<XName, object> readWriteValues) { lock (this.ThisLock) { object timerTable; if (readWriteValues != null && readWriteValues.TryGetValue(timerTableName, out timerTable)) { this.registeredTimers = timerTable as TimerTable; Fx.Assert(this.RegisteredTimers != null, "Timer Table cannot be null"); this.RegisteredTimers.OnLoad(this); } } }