Example #1
0
 public ServiceMachine()
 {
     core = new ServiceMachineCore();
     synchronizationContext = new MachineSynchronizationContext(Id);
 }
Example #2
0
 void SaveInitialPayload()
 {
     core = (ServiceMachineCore)Payload;
 }
Example #3
0
 void AddServiceMachineCore(ServiceMachineCore core)
 {
     InitializeAppMachine(CreateMachine(typeof(ServiceMachine), core));
 }
Example #4
0
 internal StateTriggeredActionSubscriber(ServiceMachineCore outer, TableClientState triggerState, Func <Task> asyncAction)
 {
     this.outer        = outer;
     this.triggerState = triggerState;
     this.asyncAction  = asyncAction;
 }