public void OnRoutineStart( ServiceId serviceId, RoutineDescriptor routineDesc, object serviceInstance, MethodInfo routineMethod, IAsyncStateMachine routineStateMachine) { Context.ServiceId = serviceId; Context.RoutineDescriptor = routineDesc; Context.ServiceInstance = serviceInstance; Context.RoutineMethod = routineMethod; Context.RoutineStateMachine = routineStateMachine; _intrinsicFlowController.OnRoutineStart(this); }
public void OnRoutineStart( IServiceReference serviceRef, IMethodReference methodRef, PersistedMethodId methodId, object serviceInstance, IAsyncStateMachine routineStateMachine, CallerDescriptor caller) { Context.ServiceRef = serviceRef; Context.MethodRef = methodRef; Context.MethodId = methodId; Context.ServiceInstance = serviceInstance; Context.RoutineStateMachine = routineStateMachine; Context.Caller = caller; _intrinsicFlowController.OnRoutineStart(this); }