示例#1
0
 // Token: 0x06001640 RID: 5696 RVA: 0x00026F48 File Offset: 0x00025F48
 protected internal override void Execute(ActivityExecutionContext context)
 {
     if (!this.signalFired)
     {
         this.bookmark = context.CreateNamedBookmark(null, new BookmarkCallback(this.OnResume), BookmarkOptions.MultiResume);
     }
 }
 // Token: 0x06001345 RID: 4933 RVA: 0x0001BD04 File Offset: 0x0001AD04
 protected internal override void Execute(ActivityExecutionContext context)
 {
     base.Entrant.ScoringState.FinishReasonChanged += this.ScoringState_FinishReasonChanged;
     if (!this.IsFinishReason((int)base.Entrant.ScoringState.FinishReason))
     {
         this.bookmark = context.CreateNamedBookmark(null, null);
     }
 }
示例#3
0
 // Token: 0x060012DE RID: 4830 RVA: 0x0001B084 File Offset: 0x0001A084
 protected internal override void Execute(ActivityExecutionContext context)
 {
     this.bookmark       = context.CreateNamedBookmark(null, new BookmarkCallback(this.OnResume), BookmarkOptions.MultiResume);
     this.timer          = new Timer(this.interval.Value);
     this.timer.Elapsed += this.OnElapsed;
     this.timer.Reset();
     this.timer.Interval = this.interval.Value;
     this.timer.Start();
 }
示例#4
0
 // Token: 0x06001274 RID: 4724 RVA: 0x0001A929 File Offset: 0x00019929
 protected internal override void Execute(ActivityExecutionContext context)
 {
     if (!SimulationTick.Ticks.Contains(this))
     {
         this.bookmark = context.CreateNamedBookmark(null, new BookmarkCallback(this.OnResume), BookmarkOptions.MultiResume);
         SimulationTick.Ticks.Add(this);
         this.OnExecute(context);
     }
 }
 // Token: 0x0600132C RID: 4908 RVA: 0x0001BA9D File Offset: 0x0001AA9D
 protected internal override void Execute(ActivityExecutionContext context)
 {
     if (this.waitForIntroComplete)
     {
         this.bookmark = context.CreateNamedBookmark(null, null);
         this.flasher.FlasherIntroComplete += this.OnFlasherIntroCompleted;
     }
     FlasherManager.Get().EnqueueFlasher(this.flasher);
 }
示例#6
0
 // Token: 0x060012BF RID: 4799 RVA: 0x0001ADC8 File Offset: 0x00019DC8
 protected internal override void Execute(ActivityExecutionContext context)
 {
     if (this.EventKey != null)
     {
         this.bookmark = context.CreateNamedBookmark(null, new BookmarkCallback(this.OnResume), BookmarkOptions.MultiResume);
         this.evnt     = this.manager.CreateEvent(this.eventSessionId.Value, this.eventKey.Value, this.connectionSupport.Value);
         Console.WriteLine("CS: Running Event Id : {0}", this.evnt.EventId);
         this.evnt.EventCompleted += this.Event_EventCompleted;
         this.evnt.Run();
     }
 }
 // Token: 0x0600146B RID: 5227 RVA: 0x00021CA8 File Offset: 0x00020CA8
 protected internal override void Execute(ActivityExecutionContext context)
 {
     base.Event.PauseDetected += this.Event_PauseDetected;
     this.bookmark             = context.CreateNamedBookmark(null, null);
 }
 // Token: 0x06001227 RID: 4647 RVA: 0x0001A3D3 File Offset: 0x000193D3
 protected internal override void Execute(ActivityExecutionContext context)
 {
     this.bookmark = context.CreateNamedBookmark(null, new BookmarkCallback(this.OnResume), BookmarkOptions.MultiResume);
     Messenger.Subscribe <M>(new MessageHandler <M>(this.OnMessage), this.Port);
     this.OnExecute(context);
 }
示例#9
0
 // Token: 0x06001217 RID: 4631 RVA: 0x0001A24B File Offset: 0x0001924B
 protected internal override void Execute(ActivityExecutionContext context)
 {
     this.bookmark = context.CreateNamedBookmark(null, null);
 }