예제 #1
0
        public RouteChain(MethodCall action, string url)
        {
            Action   = action;
            Route    = RouteBuilder.Build(url, action.HandlerType, action.Method);
            TypeName = $"{Action.HandlerType.FullName.Replace(".", "_")}_{action.Method.Name}";

            InputType    = RouteBuilder.DetermineInputType(action.Method);
            ResourceType = action.ReturnVariable?.VariableType;
        }
예제 #2
0
        public RouteChain(MethodCall action, Route route)
        {
            Action   = action;
            Route    = route;
            TypeName = $"{Action.HandlerType.FullNameInCode().Replace(".", "_")}_{action.Method.Name}";

            InputType    = RouteBuilder.DetermineInputType(action.Method);
            ResourceType = action.ReturnVariable?.VariableType;

            Route.Chain = this;
        }