コード例 #1
0
ファイル: ActorRuntimeMock.cs プロジェクト: pkese/Orleankka
 public ActorRuntimeMock(MessageSerialization serialization = null)
 {
     System     = new ActorSystemMock(serialization);
     Timers     = new TimerServiceMock();
     Reminders  = new ReminderServiceMock();
     Activation = new ActivationServiceMock();
 }
コード例 #2
0
 protected internal RecordedBackgroundJob(HashSet <BackgroundJob> tracker, ActorRef host, TimerServiceMock timers, string name, int id, Func <BackgroundJobToken, Task> job)
     : base(tracker, host, timers, name, id, job)
 {
     this.timers = timers;
 }
コード例 #3
0
 public BackgroundJobServiceMock()
 {
     Host   = new ActorRefMock(ActorPath.Parse("mock:self"));
     timers = new TimerServiceMock();
 }