Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }