(actionName: string)
| 158 | } |
| 159 | |
| 160 | invokeSetUp(actionName: string): IKeyValuePair[] { |
| 161 | let ctx = this.controller; |
| 162 | let cta = this.controllerAction; |
| 163 | let values: IKeyValuePair[] = []; |
| 164 | let params = FunctionUtility.getParamNames(ctx[actionName]); |
| 165 | |
| 166 | if (params.length > 0) { |
| 167 | values = |
| 168 | this.mapSegments(params, cta.actionAttributes.route); |
| 169 | this.handleHttpBody(values); |
| 170 | this.raiseActionParamsHandlers(values); |
| 171 | } |
| 172 | |
| 173 | return values; |
| 174 | } |
| 175 | |
| 176 | // If controller action is synchronous - invoke this |
| 177 | invoke(actionName: string): void { |
no test coverage detected