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);
         }
     }
 }
コード例 #2
0
 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);
         }
     }
 }