예제 #1
0
        private void snapshotPostBuild(ObjectSpace snapshotObjectSpace)
        {
            var schedEvents = snapshotObjectSpace.GetObjects <Event>(null, true);

            schedEvents.ToList().ForEach(x =>
            {
                x.UpdateResourceIds();
                x.Save();
            });
            var args = new SnapshotPostOperationArgs(snapshotObjectSpace);

            Owner.OnSnapshotPostBuild(args);
        }
예제 #2
0
 private void snapshotPostLoad(IObjectSpace objectSpace)
 {
     var schedEvents = objectSpace.GetObjects<Event>(null, true);
     schedEvents.ToList().ForEach(x =>
     {
         x.UpdateResourceIds();
         x.Save();
     });
     var args = new SnapshotPostOperationArgs(objectSpace);
     Owner.OnSnapshotPostLoad(args);
 }
예제 #3
0
파일: Module.cs 프로젝트: xafdelta/xafdelta
 /// <summary>
 /// Called when [snapshot post load].
 /// </summary>
 /// <param name="e">The e.</param>
 internal void OnSnapshotPostLoad(SnapshotPostOperationArgs e)
 {
     var handler = SnapshotPostLoad;
     if (handler != null) handler(this, e);
 }