Пример #1
0
        public static void CreateServiceRunnersFor <TRequest>()
        {
            foreach (var actionCtx in GetActionsFor <TRequest>())
            {
                if (execMap.ContainsKey(actionCtx.Id))
                {
                    continue;
                }

                var serviceRunner = HostContext.CreateServiceRunner <TRequest>(actionCtx);
                execMap[actionCtx.Id] = serviceRunner.Process;
            }
        }