// Token: 0x06002903 RID: 10499 RVA: 0x000BDCB4 File Offset: 0x000BBEB4
 internal virtual void RestoreState(object contentObject)
 {
     if (contentObject == null)
     {
         throw new ArgumentNullException("contentObject");
     }
     if (!this.IsAlive())
     {
         DataStreams journalDataStreams = this._jeGroupState.JournalDataStreams;
         if (journalDataStreams != null)
         {
             journalDataStreams.Load(contentObject);
             journalDataStreams.Clear();
         }
     }
 }
Example #2
0
 internal virtual void RestoreState(object contentObject)
 {
     if (contentObject == null)
     {
         throw new ArgumentNullException("contentObject");
     }
     if (IsAlive())
     {
         Debug.Assert(_jeGroupState.JournalDataStreams == null);
     }
     else
     {
         DataStreams jds = _jeGroupState.JournalDataStreams;
         if (jds != null)
         {
             jds.Load(contentObject);
             // DataStreams not needed anymore. Clear for fresh saving when the next navigation
             // occurs.
             jds.Clear();
         }
     }
 }