예제 #1
0
 /// <summary>
 /// Internal implementation for specific Meeseeks tasks
 /// </summary>
 /// <returns></returns>
 protected abstract Task ExecuteInternalAsync(MrMeeseeks meeseeks);
예제 #2
0
 /// <inheritdoc/>
 public async Task ExecuteAsync(MrMeeseeks meeseeks)
 {
     HasStarted       = true;
     AssignedMeeseeks = meeseeks.Id;
     await ExecuteInternalAsync(meeseeks);
 }
예제 #3
0
 protected override async Task ExecuteInternalAsync(MrMeeseeks meeseeks)
 {
     Log.LogInformation("Hey look at me, I'm Mr. Meeseeks and we're at Blips & Chitz!");
     await Task.Delay(TimeSpan.FromSeconds(1));
 }
 protected override async Task ExecuteInternalAsync(MrMeeseeks meeseeks)
 {
     Log.LogInformation("I'm Mr. Meeseeks, look at me!");
     await Task.Delay(TimeSpan.FromSeconds(1));
 }
예제 #5
0
 protected override async Task ExecuteInternalAsync(MrMeeseeks meeseeks)
 {
     Log.LogInformation("Keep your shoulders straight!");
     await Task.Delay(TimeSpan.FromSeconds(1));
 }