Пример #1
0
 private void ResumeArg(IEventArgs fr, long s)
 {
     foreach (string key in map[s].Keys)
     {
         fr.Resume(key);
         IParable pa = map[s][key];
         ParaList snapshotParaList = vMap[s][key];
         if (pa != null && snapshotParaList != null)
         {
             foreach (string field in snapshotParaList.GetFields())
             {
                 pa.GetParameters().Resume(field);
             }
         }
     }
 }
Пример #2
0
 private void SetArg(IEventArgs fr, long s)
 {
     foreach (string key in map[s].Keys)
     {
         IParable pa = map[s][key];
         ParaList snapshotParaList = vMap[s][key];
         if (pa != null && snapshotParaList != null)
         {
             foreach (string field in snapshotParaList.GetFields())
             {
                 pa.GetParameters().TempUse(snapshotParaList.Get(field));
             }
         }
         fr.TempUse(key, pa);
     }
 }