{"id":275853,"date":"2016-03-10T14:23:04","date_gmt":"2016-03-10T11:23:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=275853"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=275853","title":{"rendered":"Reinforced.Typings \u2014 Angular-\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u0432\u0430\u0448\u0438\u0445 MVC-\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432"},"content":{"rendered":"<p>       \u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442<br \/>  \u0418 \u0432\u043e\u0442, \u0435\u0449\u0435 \u043e\u0434\u043d\u0430&nbsp;(\u0438&nbsp;\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f) \u0441\u0442\u0430\u0442\u044c\u044f-\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e&nbsp;\u043c\u043e\u0435\u043c\u0443&nbsp;\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0443&nbsp;\u0434\u043b\u044f&nbsp;\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438&nbsp;TypeScript-\u043e\u0432\u043e\u0433\u043e&nbsp;glue-\u043a\u043e\u0434\u0430: Reinforced.Typings. \u0421\u0435\u0433\u043e\u0434\u043d\u044f&nbsp;\u043c\u044b \u043d\u0430\u0443\u0447\u0438\u0441\u044f&nbsp;\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438&nbsp;\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c TypeScript-\u043e\u0431\u0435\u0440\u0442\u043a\u0438&nbsp;\u0434\u043b\u044f&nbsp;\u0432\u044b\u0437\u043e\u0432\u043e\u0432&nbsp;\u043c\u0435\u0442\u043e\u0434\u043e\u0432&nbsp;MVC-\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432, \u0441\u043d\u0430\u0431\u0436\u0430\u0442\u044c \u0438\u0445&nbsp;\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u0438&nbsp;\u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043f\u043e&nbsp;\u0440\u0430\u0437\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u0430\u043c. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0432\u0430\u0441&nbsp;\u043f\u043e\u0440\u0430\u0434\u0443\u0435\u0442 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e&nbsp;\u0431\u044b\u0441\u0442\u0440\u043e&nbsp;\u0438&nbsp;\u043b\u0435\u0433\u043a\u043e&nbsp;\u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f&nbsp;\u0442\u0430\u043a\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438&nbsp;\u0441&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c RT. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u043c\u043e\u0435\u0433\u043e&nbsp;\u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430&nbsp;\u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u043a\u043b\u0430\u0441\u0441\u0430-\u0445\u044d\u043b\u043f\u0435\u0440\u0430&nbsp;\u0434\u043b\u044f&nbsp;\u0432\u044b\u0437\u043e\u0432\u043e\u0432&nbsp;\u043c\u0435\u0442\u043e\u0434\u043e\u0432&nbsp;\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432&nbsp;\u0441&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c jQuery \u0438&nbsp;promise-\u043e\u0432, \u0430&nbsp;\u0442\u0430\u043a&nbsp;\u0436\u0435 \u0441\u0435\u0440\u0432\u0438\u0441&nbsp;\u0434\u043b\u044f&nbsp;angular.js, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0433\u043e\u0442\u043e\u0432&nbsp;\u0434\u043b\u044f&nbsp;\u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043d\u0438\u044f&nbsp;\u0432&nbsp;\u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438&nbsp;\u043f\u0440\u0438\u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f&nbsp;\u0432&nbsp;\u043d\u0435\u0433\u043e&nbsp;\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0445 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0439 \u043a&nbsp;\u043c\u0435\u0442\u043e\u0434\u0430\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0432&nbsp;\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0439 TypeScript \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0434\u043b\u044f&nbsp;\u044d\u0442\u043e\u0433\u043e&nbsp;\u0434\u0435\u043b\u0430&nbsp;(\u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0438\u0437&nbsp;XMLDOC) \u0438&nbsp;\u0440\u0430\u0437\u043b\u043e\u0436\u0438\u043c \u043f\u043e&nbsp;\u0444\u0430\u0439\u043b\u0430\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435&nbsp;\u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0438\u0432\u0430\u043b\u043e\u0441\u044c. \u0412\u0441\u0435\u043c \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0438&nbsp;\u0436\u0435\u043b\u0430\u044e\u0449\u0438\u043c \u0437\u0430\u0438\u043c\u0435\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0448\u0442\u0443\u043a\u0443&nbsp;\u0432&nbsp;\u0441\u0432\u043e\u0438\u0445&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0434\u043e\u0431\u0440\u043e&nbsp;\u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434&nbsp;\u043a\u0430\u0442. <br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h1>\u041f\u0440\u043e\u043b\u043e\u0433<\/h1>\n<p>  \u0415\u0441\u043b\u0438&nbsp;\u043a\u043e\u0440\u043e\u0442\u043a\u043e, \u0442\u043e&nbsp;RT \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0443&nbsp;\u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432&nbsp;\u0434\u043b\u044f&nbsp;\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438&nbsp;\u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e&nbsp;TypeScript-\u043a\u043e\u0434\u0430. \u0421 \u043d\u0435\u0434\u0430\u0432\u043d\u0438\u0445&nbsp;\u043f\u043e\u0440 (\u0432\u0435\u0440\u0441\u0438\u044f&nbsp;1.2.0) \u044f&nbsp;\u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f&nbsp;\u043e\u0442&nbsp;\u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438&nbsp;\u043f\u0438\u0441\u0430\u0442\u044c TypeScript-\u043a\u043e\u0434 \u043f\u0440\u044f\u043c\u043e&nbsp;\u0432&nbsp;\u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0442\u043e\u043a&nbsp;(\u0447\u0442\u043e&nbsp;\u0431\u044b\u043b\u043e&nbsp;\u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e, \u0437\u0430\u0442\u043e&nbsp;\u0432\u0435\u0441\u044c\u043c\u0430&nbsp;\u0431\u044b\u0441\u0442\u0440\u043e) \u0438&nbsp;\u043f\u0440\u0438\u0448\u0435\u043b \u043a&nbsp;\u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f&nbsp;\u043e\u0447\u0435\u043d\u044c \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e&nbsp;<a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%90%D0%B1%D1%81%D1%82%D1%80%D0%B0%D0%BA%D1%82%D0%BD%D0%BE%D0%B5_%D1%81%D0%B8%D0%BD%D1%82%D0%B0%D0%BA%D1%81%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%BE%D0%B5_%D0%B4%D0%B5%D1%80%D0%B5%D0%B2%D0%BE\">AST (Abstract Syntax Tree)<\/a>. \u0412 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u044d\u0442\u043e&nbsp;\u0434\u0435\u0440\u0435\u0432\u043e&nbsp;\u043e\u0447\u0435\u043d\u044c \u0431\u0430\u0437\u043e\u0432\u043e\u0435, \u0434\u0430\u043b\u0435\u043a\u043e&nbsp;\u043d\u0435&nbsp;\u043f\u043e\u043b\u043d\u043e\u0435 \u0438&nbsp;\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e&nbsp;\u043e\u043d\u043e&nbsp;\u043d\u0430&nbsp;\u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b TypeScript-\u0430. \u041d\u0443&nbsp;\u0442\u043e&nbsp;\u0435\u0441\u0442\u044c \u0431\u0435\u0437&nbsp;\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432, switch-\u0435\u0439, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438&nbsp;\u0442.\u043f. \u0422\u043e\u043b\u044c\u043a\u043e&nbsp;\u043a\u043b\u0430\u0441\u0441\u044b\/\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u043c\u0435\u0442\u043e\u0434\u044b, \u043f\u043e\u043b\u044f, \u043c\u043e\u0434\u0443\u043b\u0438. \u041f\u043e\u0441\u043b\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u044f&nbsp;AST, \u043d\u0435&nbsp;\u0441\u043a\u0440\u043e\u044e, \u0441\u0442\u0430\u043b\u043e&nbsp;\u043b\u0435\u0433\u0447\u0435. \u0412 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438&nbsp;\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0439 \u043a\u043e\u0434, \u0432&nbsp;\u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0432\u0435\u0441&nbsp;\u0441\u0442\u0430\u0440\u043e\u043c\u0443&nbsp;\u0440\u0435\u0448\u0435\u043d\u0438\u044e, \u043a\u043e\u0433\u0434\u0430&nbsp;\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0437\u0430\u0431\u043e\u0442\u0438\u0442\u044c\u0441\u044f&nbsp;\u043e&nbsp;\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438&nbsp;\u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u0414\u0430, \u043a\u043e\u043d\u0435\u0447\u043d\u043e&nbsp;\u0432&nbsp;\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u044d\u0442\u043e&nbsp;\u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0438\u0441\u0441&nbsp;\u0432&nbsp;\u0443\u0448\u0435\u0440\u0431 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u0438, \u043d\u043e&nbsp;\u0432&nbsp;\u043f\u0440\u0438\u0431\u044b\u043b\u044c \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0443&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u043e&nbsp;\u0432&nbsp;\u0446\u0435\u043b\u043e\u043c, \u043a\u0430\u043a&nbsp;\u043c\u043d\u0435&nbsp;\u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0438\u0433\u0440\u0430&nbsp;\u0441\u0442\u043e\u0438\u0442 \u0441\u0432\u0435\u0447. \u041a \u0442\u043e\u043c\u0443&nbsp;\u0436\u0435 \u0432&nbsp;\u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445 \u0432\u0430\u0441&nbsp;\u043d\u0438\u043a\u0442\u043e&nbsp;\u043d\u0435&nbsp;\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0432&nbsp;\u0442\u0438\u043f\u0435 \u0443\u0437\u043b\u043e\u0432&nbsp;\u0434\u0435\u0440\u0435\u0432\u0430. \u0427\u0442\u043e&nbsp;\u044d\u0442\u043e&nbsp;\u0437\u043d\u0430\u0447\u0438\u0442? \u0410 \u044d\u0442\u043e&nbsp;\u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e&nbsp;\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432&nbsp;\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0443&nbsp;\u043a\u043b\u0430\u0441\u0441\u0430&nbsp;\u043f\u0440\u044f\u043c\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u043c\u0430\u0442\u0435\u0440\u043d\u044b\u0439 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 (\u0434\u0430\u0436\u0435 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439) \u0447\u0435\u0440\u0435\u0437&nbsp;AST \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435. \u0414\u0430-\u0434\u0430, \u0438&nbsp;\u0435\u043c\u0443&nbsp;\u0435\u0449\u0435 \u0438&nbsp;\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e&nbsp;\u0432\u044b\u0441\u0442\u0430\u0432\u044f\u0442 \u0442\u0430\u0431\u0443\u043b\u044f\u0446\u0438\u044e \u0432&nbsp;\u043d\u0430\u0447\u0430\u043b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438. \u041d\u0443&nbsp;\u0447\u0442\u043e&nbsp;\u0436, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c.  <\/p>\n<h1>\u0421 \u043c\u0435\u0441\u0442\u0430&nbsp;\u0432&nbsp;\u043a\u0430\u0440\u044c\u0435\u0440<\/h1>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u044f&nbsp;\u043e\u0431\u044a\u044f\u0441\u043d\u044e \u043d\u0430&nbsp;\u043f\u0440\u043e\u0441\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435&nbsp;\u2014 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438&nbsp;jQuery-\u043e\u0431\u0435\u0440\u0442\u043e\u043a&nbsp;\u0441&nbsp;\u043f\u0440\u043e\u043c\u0438\u0441\u0430\u043c\u0438&nbsp;\u0434\u043b\u044f&nbsp;\u0432\u044b\u0437\u043e\u0432\u043e\u0432&nbsp;\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432. \u041f\u043e\u0442\u043e\u043c\u0443&nbsp;\u0447\u0442\u043e&nbsp;angular-way \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f&nbsp;\u0447\u0443\u0436\u0434 \u0434\u043b\u044f&nbsp;\u043a\u043e\u0433\u043e-\u0442\u043e, \u0430&nbsp;\u0441&nbsp;jQuery \u0432&nbsp;\u043e\u0431\u0449\u0435\u043c-\u0442\u043e&nbsp;\u0432\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0434\u0430\u043d\u043e: \u043f\u0440\u043e\u0441\u0442\u043e\u0435 ASP.NET MVC-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, jQuery, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441&nbsp;\u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f&nbsp;\u0434\u0435\u0440\u0433\u0430\u0442\u044c \u0438\u0437&nbsp;\u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u0433\u043e&nbsp;TypeScript-\u0430, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e&nbsp;View-\u043c\u043e\u0434\u0435\u043b\u0435\u043a&nbsp;\u0438&nbsp;\u0432\u0430\u0448\u0438&nbsp;\u0447\u0435\u0448\u0443\u0449\u0438\u0435\u0441\u044f&nbsp;\u0440\u0443\u043a\u0438.<br \/>  \u0417\u0430\u0434\u0430\u0447\u0430: \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0439 API \u0432&nbsp;TypeScript-\u043a\u043b\u0430\u0441\u0441, \u0447\u0442\u043e\u0431\u044b \u043d\u0435&nbsp;\u043f\u0430\u0440\u0438\u0442\u0441\u044f&nbsp;\u0441&nbsp;\u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u043c\u0438&nbsp;$.post\/$.load, \u0438\u043b\u0438, \u0447\u0435\u0433\u043e&nbsp;\u0434\u043e\u0431\u0440\u043e\u0433\u043e, $.ajax. <br \/>  \u0420\u0435\u0448\u0435\u043d\u0438\u0435: <\/p>\n<h2>\u0428\u0430\u0433 0. \u0418\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430<\/h2>\n<p>  \u042f \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0443&nbsp;\u0437\u0434\u0435\u0441\u044c \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0438\u043c\u0435\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e&nbsp;\u043e\u0442&nbsp;\u0447\u0435\u0433\u043e&nbsp;\u043e\u0442\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>  \u041c\u043e\u0434\u0435\u043b\u044c\u043a\u0430:   <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>class<\/b><\/font> SampleResponseModel<\/li>\n<li><font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>string<\/b><\/font> Message <font color=\"#008000\">{<\/font> <font color=\"#0600FF\"><b>get<\/b><\/font><font color=\"#008000\">;<\/font> <font color=\"#0600FF\"><b>set<\/b><\/font><font color=\"#008000\">;<\/font> <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>bool<\/b><\/font> Success <font color=\"#008000\">{<\/font> <font color=\"#0600FF\"><b>get<\/b><\/font><font color=\"#008000\">;<\/font> <font color=\"#0600FF\"><b>set<\/b><\/font><font color=\"#008000\">;<\/font> <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>string<\/b><\/font> CurrentTime <font color=\"#008000\">{<\/font> <font color=\"#0600FF\"><b>get<\/b><\/font><font color=\"#008000\">;<\/font> <font color=\"#0600FF\"><b>set<\/b><\/font><font color=\"#008000\">;<\/font> <font color=\"#008000\">}<\/font><\/li>\n<li><font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440: <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>class<\/b><\/font> JQueryController <font color=\"#008000\">:<\/font> Controller<\/li>\n<li><font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult SimpleIntMethod<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>return<\/b><\/font> Json<font color=\"#008000\">(<\/font><font color=\"#008000\">new<\/font> Random<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Next<\/font><font color=\"#008000\">(<\/font><font color=\"#FF0000\">100<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult MethodWithParameters<font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>int<\/b><\/font> num, <font color=\"#6666cc\"><b>string<\/b><\/font> s, <font color=\"#6666cc\"><b>bool<\/b><\/font> boolValue<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>return<\/b><\/font> Json<font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>string<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;{0}-{1}-{2}&quot;<\/font>, num, s, boolValue<font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult ReturningObject<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> result <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> SampleResponseModel<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CurrentTime <font color=\"#008000\">=<\/font> DateTime<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Now<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">ToLongTimeString<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Message <font color=\"#008000\">=<\/font> <font color=\"#666666\">&quot;Hello!&quot;<\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Success <font color=\"#008000\">=<\/font> <font color=\"#0600FF\"><b>true<\/b><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">}<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>return<\/b><\/font> Json<font color=\"#008000\">(<\/font>result<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult ReturningObjectWithParameters<font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>string<\/b><\/font> echo<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> result <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> SampleResponseModel<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CurrentTime <font color=\"#008000\">=<\/font> DateTime<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Now<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">ToLongTimeString<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Message <font color=\"#008000\">=<\/font> echo,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Success <font color=\"#008000\">=<\/font> <font color=\"#0600FF\"><b>true<\/b><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">}<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>return<\/b><\/font> Json<font color=\"#008000\">(<\/font>result<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult VoidMethodWithParameters<font color=\"#008000\">(<\/font>SampleResponseModel model<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>return<\/b><\/font> <font color=\"#0600FF\"><b>null<\/b><\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li><font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u041a \u0442\u043e\u043c\u0443&nbsp;\u0436\u0435 \u043c\u044b \u0437\u0430\u0432\u0435\u0434\u0435\u043c TypeScript-\u0444\u0430\u0439\u043b (\u043e\u043d \u0443&nbsp;\u043c\u0435\u043d\u044f&nbsp;\u043b\u0435\u0436\u0438\u0442 \u0432&nbsp;\/Scripts\/IndexPage.ts) \u0434\u043b\u044f&nbsp;\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0412\u043e\u0442&nbsp;\u0442\u0430\u043a\u043e\u0439 (\u0434\u0430&nbsp;\u043f\u0440\u043e\u0441\u0442\u044f\u0442 \u043c\u0435\u043d\u044f&nbsp;\u0430\u0434\u0435\u043f\u0442\u044b MVVM, \u0434\u043b\u044f&nbsp;\u0432\u0430\u0441&nbsp;\u0431\u0443\u0434\u0435\u0442 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043d\u0438\u0436\u0435): <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li>module Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Pages<\/font><font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#FF0000\">export<\/font> <font color=\"#FF0000\">class<\/font> IndexPage <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; constructor<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#btnSimpleInt'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">click<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">btnSimpleIntClick<\/font>.<font color=\"#660066\">bind<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#btnMethodWithParameters'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">click<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">btnMethodWithParametersClick<\/font>.<font color=\"#660066\">bind<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#btnReturningObject'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">click<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">btnReturningObjectClick<\/font>.<font color=\"#660066\">bind<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; private btnSimpleIntClick<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font> &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; private btnMethodWithParametersClick<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font> &nbsp; &nbsp; &nbsp; &nbsp;<font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; private btnReturningObjectClick<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font> &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li><font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  <b>\u0412\u0430\u0436\u043d\u043e!<\/b> \u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0442\u0430\u0439\u043f\u0438\u043d\u0433\u0438&nbsp;\u0434\u043b\u044f&nbsp;jQuery \u0438\u0437&nbsp;NuGet \u043e\u0442&nbsp;DefinitelyTyped. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441&nbsp;\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0435\u0439 TS \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<p>  \u041d\u0443&nbsp;\u0438&nbsp;\u0433\u0440\u0435\u0445 \u043d\u0435&nbsp;\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0435\u0441\u0442\u043e\u0432\u0443\u044e \u0432\u044a\u044e\u0445\u0443&nbsp;(\u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f&nbsp;\u0447\u0442\u043e&nbsp;jQuery \u0443&nbsp;\u0432\u0430\u0441&nbsp;\u0443\u0436\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d). \u041f\u0435\u0440\u0435\u043f\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448 Index.cshtml, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u043a: <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#009900\">&lt;<font color=\"#000000\"><b>span<\/b><\/font> <font color=\"#000066\">id<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;loading&quot;<\/font>&gt;&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>span<\/b><\/font>&gt;<\/font><\/li>\n<li>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: <font color=\"#009900\">&lt;<font color=\"#000000\"><b>strong<\/b><\/font> <font color=\"#000066\">id<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;result&quot;<\/font>&gt;&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>strong<\/b><\/font>&gt;<\/font><\/li>\n<li><font color=\"#009900\">&lt;<font color=\"#000000\"><b>button<\/b><\/font> <font color=\"#000066\">class<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btn btn-primary&quot;<\/font> <font color=\"#000066\">id<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btnSimpleInt&quot;<\/font>&gt;<\/font>\u0422\u044b\u043d\u0446<font color=\"#009900\">&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>button<\/b><\/font>&gt;<\/font><\/li>\n<li><font color=\"#009900\">&lt;<font color=\"#000000\"><b>button<\/b><\/font> <font color=\"#000066\">class<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btn btn-default&quot;<\/font> <font color=\"#000066\">id<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btnMethodWithParameters&quot;<\/font>&gt;<\/font>\u041a\u043b\u0430\u0446<font color=\"#009900\">&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>button<\/b><\/font>&gt;<\/font><\/li>\n<li><font color=\"#009900\">&lt;<font color=\"#000000\"><b>button<\/b><\/font> <font color=\"#000066\">class<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btn btn-default&quot;<\/font> <font color=\"#000066\">id<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btnReturningObject&quot;<\/font>&gt;<\/font>\u0411\u0443\u043c\u0441<font color=\"#009900\">&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>button<\/b><\/font>&gt;<\/font><\/li>\n<li><font color=\"#009900\">&lt;<font color=\"#000000\"><b>button<\/b><\/font> <font color=\"#000066\">class<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btn btn-default&quot;<\/font> <font color=\"#000066\">id<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btnReturningObjectWithParameters&quot;<\/font>&gt;<\/font>\u0411\u0434\u044b\u0449<font color=\"#009900\">&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>button<\/b><\/font>&gt;<\/font><\/li>\n<li><font color=\"#009900\">&lt;<font color=\"#000000\"><b>button<\/b><\/font> <font color=\"#000066\">class<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btn btn-default&quot;<\/font> <font color=\"#000066\">id<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;btnVoidMethodWithParameters&quot;<\/font>&gt;<\/font>\u041a\u0440\u044f!<font color=\"#009900\">&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>button<\/b><\/font>&gt;<\/font><\/li>\n<li>@section Scripts<\/li>\n<li>{<\/li>\n<li>&nbsp; &nbsp; <font color=\"#009900\">&lt;<font color=\"#000000\"><b>script<\/b><\/font> <font color=\"#000066\">type<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;text\/javascript&quot;<\/font> <font color=\"#000066\">src<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;\/Scripts\/IndexPage.js&quot;<\/font>&gt;&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>script<\/b><\/font>&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#009900\">&lt;<font color=\"#000000\"><b>script<\/b><\/font> <font color=\"#000066\">type<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;text\/javascript&quot;<\/font> <font color=\"#000066\">src<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;\/Scripts\/query.js&quot;<\/font>&gt;&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>script<\/b><\/font>&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#009900\">&lt;<font color=\"#000000\"><b>script<\/b><\/font> <font color=\"#000066\">type<\/font><font color=\"#66cc66\">=<\/font><font color=\"#ff0000\">&quot;text\/javascript&quot;<\/font>&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; $(document).ready(function () {<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var a = new Reinforced.Typings.Samples.Difficult.CodeGenerators.Pages.IndexPage();<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; })<\/li>\n<li>&nbsp; &nbsp; <font color=\"#009900\">&lt;<font color=\"#66cc66\">\/<\/font><font color=\"#000000\"><b>script<\/b><\/font>&gt;<\/font><\/li>\n<li>}<\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u0412\u044b, \u0434\u043e\u043b\u0436\u043d\u043e&nbsp;\u0431\u044b\u0442\u044c, \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438&nbsp;\u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 query.js \u0432&nbsp;\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442. \u041d\u0435 \u043f\u0443\u0433\u0430\u0439\u0442\u0435\u0441\u044c&nbsp;\u2014 \u0442\u0430\u043a&nbsp;\u043d\u0430\u0434\u043e, \u0432&nbsp;\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c&nbsp;\u0436\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u044f&nbsp;\u043e\u0431\u044a\u044f\u0441\u043d\u044e \u0447\u0442\u043e&nbsp;\u043a&nbsp;\u0447\u0435\u043c\u0443.<\/p>\n<p>  \u0412\u0441\u0435, \u044d\u0442\u043e&nbsp;\u0431\u044b\u043b\u0430&nbsp;\u043f\u043e\u0440\u0442\u044f\u043d\u043a\u0430&nbsp;\u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b. \u0414\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u043b\u0435\u0433\u0447\u0435.<\/p>\n<h2>\u0428\u0430\u0433 1. \u0417\u0430\u043f\u0440\u043e\u0441\u044b<\/h2>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u044b\u043d\u0435\u0441\u0435\u043c \u0432&nbsp;\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 TypeScript-\u043a\u043b\u0430\u0441\u0441&nbsp;\u0432\u0441\u0435\u0433\u043e&nbsp;\u043e\u0434\u0438\u043d \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f&nbsp;\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432&nbsp;\u043a&nbsp;\u0441\u0435\u0440\u0432\u0435\u0440\u0443. \u041f\u0440\u043e\u0441\u0442\u043e&nbsp;jQuery \u0432&nbsp;\u044d\u0442\u043e\u043c \u043f\u043b\u0430\u043d\u0435&nbsp;\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e&nbsp;\u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043e\u043a&nbsp;\u0438&nbsp;\u043c\u043d\u0435&nbsp;\u0431\u044b \u043d\u0435&nbsp;\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c \u0432\u0435\u0441\u044c \u044d\u0442\u043e\u0442&nbsp;\u0448\u0430\u0431\u043b\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432&nbsp;\u043a\u0430\u0436\u0434\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0435 \u0432&nbsp;\u0443\u0433\u043e\u0434\u0443&nbsp;\u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0418\u0442\u0430\u043a, \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u043a\u043b\u0430\u0441\u0441&nbsp;\u0441&nbsp;\u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0434\u043b\u044f&nbsp;\u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a&nbsp;\u0441\u0435\u0440\u0432\u0435\u0440\u0443: <\/p>\n<p>  \/Scripts\/query.ts<\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#FF0000\">class<\/font> QueryController <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; public <font color=\"#000066\"><b>static<\/b><\/font> query<font color=\"#339933\">&lt;<\/font>T<font color=\"#339933\">&gt;<\/font><font color=\"#009900\">(<\/font>url<font color=\"#339933\">:<\/font> string<font color=\"#339933\">,<\/font> data<font color=\"#339933\">:<\/font> any<font color=\"#339933\">,<\/font> progressSelector<font color=\"#339933\">:<\/font> string<font color=\"#339933\">,<\/font> disableSelector<font color=\"#339933\">:<\/font>string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">:<\/font> JQueryPromise<font color=\"#339933\">&lt;<\/font>T<font color=\"#339933\">&gt;<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> promise <font color=\"#339933\">=<\/font> jQuery.<font color=\"#660066\">Deferred<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> query <font color=\"#339933\">=<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data<font color=\"#339933\">:<\/font> JSON.<font color=\"#660066\">stringify<\/font><font color=\"#009900\">(<\/font>data<font color=\"#009900\">)<\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type<font color=\"#339933\">:<\/font> <font color=\"#3366CC\">'post'<\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataType<font color=\"#339933\">:<\/font> <font color=\"#3366CC\">'json'<\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; contentType<font color=\"#339933\">:<\/font><font color=\"#3366CC\">'application\/json'<\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; timeout<font color=\"#339933\">:<\/font> <font color=\"#CC0000\">9000000<\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; traditional<font color=\"#339933\">:<\/font> <font color=\"#003366\"><b>false<\/b><\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; complete<font color=\"#339933\">:<\/font> <font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>if<\/b><\/font> <font color=\"#009900\">(<\/font>progressSelector <font color=\"#339933\">&amp;&amp;<\/font> progressSelector.<font color=\"#660066\">length<\/font> <font color=\"#339933\">&gt;<\/font> <font color=\"#CC0000\">0<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font>progressSelector<font color=\"#009900\">)<\/font>.<font color=\"#660066\">find<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'span[data-role=&quot;progressContainer&quot;]'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">remove<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>if<\/b><\/font> <font color=\"#009900\">(<\/font>disableSelector <font color=\"#339933\">&amp;&amp;<\/font> disableSelector.<font color=\"#660066\">length<\/font> <font color=\"#339933\">&gt;<\/font> <font color=\"#CC0000\">0<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font>disableSelector<font color=\"#009900\">)<\/font>.<font color=\"#660066\">prop<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'disabled'<\/font><font color=\"#339933\">,<\/font> <font color=\"#003366\"><b>false<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; success<font color=\"#339933\">:<\/font> <font color=\"#009900\">(<\/font>response<font color=\"#339933\">:<\/font> T<font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; promise.<font color=\"#660066\">resolve<\/font><font color=\"#009900\">(<\/font>response<font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; error<font color=\"#339933\">:<\/font> <font color=\"#009900\">(<\/font>request<font color=\"#339933\">,<\/font> status<font color=\"#339933\">,<\/font> error<font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; promise.<font color=\"#660066\">reject<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">{<\/font> Success<font color=\"#339933\">:<\/font> <font color=\"#003366\"><b>false<\/b><\/font><font color=\"#339933\">,<\/font> Message<font color=\"#339933\">:<\/font> error.<font color=\"#660066\">toString<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">,<\/font> Data<font color=\"#339933\">:<\/font> error <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>if<\/b><\/font> <font color=\"#009900\">(<\/font>progressSelector <font color=\"#339933\">&amp;&amp;<\/font> progressSelector.<font color=\"#660066\">length<\/font> <font color=\"#339933\">&gt;<\/font> <font color=\"#CC0000\">0<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font>progressSelector<font color=\"#009900\">)<\/font>.<font color=\"#660066\">append<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'&lt;span data-role=&quot;progressContainer&quot;&gt; Loading ... &lt;\/span&gt;'<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>if<\/b><\/font> <font color=\"#009900\">(<\/font>disableSelector <font color=\"#339933\">&amp;&amp;<\/font> disableSelector.<font color=\"#660066\">length<\/font> <font color=\"#339933\">&gt;<\/font> <font color=\"#CC0000\">0<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font>disableSelector<font color=\"#009900\">)<\/font>.<font color=\"#660066\">prop<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'disabled'<\/font><font color=\"#339933\">,<\/font><font color=\"#003366\"><b>true<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; $.<font color=\"#660066\">ajax<\/font><font color=\"#009900\">(<\/font>url<font color=\"#339933\">,&lt;<\/font>any<font color=\"#339933\">&gt;<\/font>query<font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> promise<font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li><font color=\"#009900\">}<\/font> <\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u041a\u0430\u043a&nbsp;\u0432\u0438\u0434\u0438\u043c, \u043c\u0435\u0442\u043e\u0434 \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e&nbsp;\u043f\u0440\u043e\u0441\u0442, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430&nbsp;\u0432\u0445\u043e\u0434 URL \u0434\u043b\u044f&nbsp;\u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u0434\u0430\u043d\u043d\u044b\u0435 (\u043b\u044e\u0431\u043e\u0439 JS-\u043e\u0431\u044a\u0435\u043a\u0442), \u0430&nbsp;\u0442\u0430\u043a&nbsp;\u0436\u0435, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e&nbsp;\u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044f&nbsp;\u0441\u0434\u0435\u043b\u0430\u043b \u0434\u0432\u0430&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430: \u043e\u0434\u0438\u043d \u0434\u043b\u044f&nbsp;\u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f&nbsp;\u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430&nbsp;HTML-\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u043a\u043e\u0439 \u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043d\u0430&nbsp;\u0432\u0440\u0435\u043c\u044f&nbsp;\u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u0438&nbsp;\u043e\u0434\u0438\u043d\u2026 \u041d\u0443, \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e&nbsp;\u0442\u043e&nbsp;\u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0442\u043e\u043b\u044c\u043a\u043e&nbsp;\u0434\u043b\u044f&nbsp;\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u043a&nbsp;\u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443&nbsp;\u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f&nbsp;\u043d\u0430\u0434\u043f\u0438\u0441\u044c \u00abLoading\u2026\u00bb. \u041f\u043e\u043b\u0430\u0433\u0430\u044e \u0441\u0430\u043c\u043e\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c, \u0447\u0442\u043e&nbsp;\u043d\u0430\u0434\u043f\u0438\u0441\u044c \u00abLoading\u2026\u00bb \u0432\u044b \u0431\u0435\u0437&nbsp;\u0442\u0440\u0443\u0434\u0430&nbsp;\u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430&nbsp;\u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0441\u0432\u043e\u0435. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u044d\u0442\u043e\u0442&nbsp;\u043c\u0435\u0442\u043e\u0434 jQuery-\u0435\u0432\u0441\u043a\u0438\u0439 Promise, \u043a&nbsp;\u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443&nbsp;\u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c .then\/.fail\/.end \u0438&nbsp;\u0434\u0440\u0443\u0433\u0438\u0435. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u044f&nbsp;\u043f\u043e\u043b\u0430\u0433\u0430\u044e \u0447\u0442\u043e&nbsp;\u0446\u0435\u043b\u0435\u0432\u0430\u044f&nbsp;\u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044f&nbsp;\u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438&nbsp;\u0438&nbsp;\u0431\u0435\u0437&nbsp;\u043c\u0435\u043d\u044f&nbsp;\u0432&nbsp;\u043a\u0443\u0440\u0441\u0435 \u043a\u0430\u043a&nbsp;\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441&nbsp;\u043f\u0440\u043e\u043c\u0438\u0441\u0430\u043c\u0438.:)<\/p>\n<h2>\u0428\u0430\u0433 2. \u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b<\/h2>\n<p>  \u0422\u0430\u043a&nbsp;\u043a\u0430\u043a&nbsp;\u0447\u0435\u0440\u0435\u0437&nbsp;reflection \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e&nbsp;\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0442\u043e&nbsp;\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u043d\u0430\u0448\u0438&nbsp;\u043c\u0435\u0442\u043e\u0434\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430, \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u043c\u0435\u0447\u0430\u0442\u044c \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043d\u0430\u0448\u0435\u0433\u043e&nbsp;JQueryController-\u0430, \u0434\u043b\u044f&nbsp;\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e&nbsp;\u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0435\u0440\u0442\u043a\u0443. \u0412\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043e\u043d \u0431\u0443\u0434\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u043a: <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>class<\/b><\/font> JQueryMethodAttribute <font color=\"#008000\">:<\/font> TsFunctionAttribute<\/li>\n<li><font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> JQueryMethodAttribute<font color=\"#008000\">(<\/font>Type returnType<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; StrongType <font color=\"#008000\">=<\/font> returnType<font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; CodeGeneratorType <font color=\"#008000\">=<\/font> <font color=\"#008000\">typeof<\/font> <font color=\"#008000\">(<\/font>JQueryActionCallGenerator<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li><font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0443\u0431\u0438\u0432\u0430\u0435\u043c \u0434\u0432\u0443\u0445 \u0437\u0430\u0439\u0446\u0435\u0432&nbsp;\u0441\u0440\u0430\u0437\u0443&nbsp;\u0438&nbsp;\u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c CodeGeneratorType \u0434\u043b\u044f&nbsp;\u044d\u0442\u043e\u0433\u043e&nbsp;\u043c\u0435\u0442\u043e\u0434\u0430. \u041d\u0435 \u0432\u043e\u043b\u043d\u0443\u0439\u0442\u0435\u0441\u044c \u0447\u0442\u043e&nbsp;\u0435\u0433\u043e&nbsp;\u043f\u043e\u043a\u0430&nbsp;\u043d\u0435\u0442&nbsp;\u2014 \u043c\u044b \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0435\u0433\u043e&nbsp;\u0432&nbsp;\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435. \u0412 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u043c&nbsp;\u2014 \u0438\u043c\u0435\u044e\u0449\u0438\u0439\u0441\u044f&nbsp;\u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043c\u043e\u0436\u043d\u043e&nbsp;\u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0434&nbsp;\u043d\u0430\u0448\u0438\u043c\u0438&nbsp;\u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438&nbsp;\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430. \u0417\u0430\u043e\u0434\u043d\u043e&nbsp;\u043c\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043c [TsClass], \u043d\u0435&nbsp;\u043e\u0442\u0445\u043e\u0434\u044f&nbsp;\u043e\u0442&nbsp;\u043a\u0430\u0441\u0441\u044b: <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#008000\">[<\/font>TsClass<font color=\"#008000\">]<\/font><\/li>\n<li><font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>class<\/b><\/font> JQueryController <font color=\"#008000\">:<\/font> Controller<\/li>\n<li><font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">[<\/font>JQueryMethod<font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font><font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>int<\/b><\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">]<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult SimpleIntMethod<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ fold<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">[<\/font>JQueryMethod<font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font><font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>string<\/b><\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">]<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult MethodWithParameters<font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>int<\/b><\/font> num, <font color=\"#6666cc\"><b>string<\/b><\/font> s, <font color=\"#6666cc\"><b>bool<\/b><\/font> boolValue<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ fold<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">[<\/font>JQueryMethod<font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font><font color=\"#008000\">(<\/font>SampleResponseModel<font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">]<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult ReturningObject<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ fold<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp; &nbsp; <\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">[<\/font>JQueryMethod<font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font><font color=\"#008000\">(<\/font>SampleResponseModel<font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">]<\/font> <\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult ReturningObjectWithParameters<font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>string<\/b><\/font> echo<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ fold<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">[<\/font>JQueryMethod<font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font><font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>void<\/b><\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">]<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> ActionResult VoidMethodWithParameters<font color=\"#008000\">(<\/font>SampleResponseModel model<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ fold<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li><font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u0422\u0430\u043a&nbsp;\u0436\u0435 \u043d\u0435&nbsp;\u0437\u0430\u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c [TsInterface] \u043d\u0430\u0434&nbsp;\u043c\u043e\u0434\u0435\u043b\u044c\u043a\u043e\u0439. \u0418\u043d\u0430\u0447\u0435, \u043a\u0430\u043a&nbsp;\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u043b \u0410\u043c\u0430\u044f\u043a&nbsp;\u0410\u043a\u043e\u043f\u044f\u043d, \u00ab\u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e&nbsp;\u0447\u0443\u0434\u0430&nbsp;\u043d\u0435&nbsp;\u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442\u201c.<\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#008000\">[<\/font>TsInterface<font color=\"#008000\">]<\/font><\/li>\n<li><font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>class<\/b><\/font> SampleResponseModel<\/li>\n<li><font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ fold<\/i><\/font><\/li>\n<li><font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<h2>\u0428\u0430\u0433 3. \u041a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440<\/h2>\n<p>  \u0422\u0435\u043e\u0440\u0438\u044f&nbsp;\u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e&nbsp;\u043f\u0440\u043e\u0441\u0442\u0430. RT \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0432&nbsp;\u043a\u0443\u0447\u0443&nbsp;\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e&nbsp;\u0442\u043e\u043c, \u0447\u0442\u043e&nbsp;\u0438\u0437&nbsp;\u0441\u0432\u043e\u0438\u0445&nbsp;C#-\u0442\u0438\u043f\u043e\u0432&nbsp;\u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u0432&nbsp;\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u043c TypeScript-\u0435 \u0438&nbsp;\u0432&nbsp;\u043a\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435, \u043f\u043e\u0442\u043e\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u044d\u0442\u043e&nbsp;\u0434\u043e\u0431\u0440\u043e&nbsp;\u043e\u0431\u0445\u043e\u0434\u0438\u0442\u044c \u0432&nbsp;\u0433\u043b\u0443\u0431\u0438\u043d\u0443, \u043d\u0430\u0447\u0438\u043d\u0430\u044f&nbsp;\u0441&nbsp;\u043d\u0435\u0439\u043c\u0441\u043f\u0435\u0439\u0441\u043e\u0432&nbsp;\u0438&nbsp;\u0441\u043f\u0443\u0441\u043a\u0430\u044f\u0441\u044c \u043a&nbsp;\u0447\u043b\u0435\u043d\u0430\u043c \u043a\u043b\u0430\u0441\u0441\u0430&nbsp;\u0438&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c \u0434\u0435\u043a\u043b\u0430\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432. \u0412\u0441\u0442\u0440\u0435\u0447\u0430\u044f&nbsp;\u043d\u0430&nbsp;\u0441\u0432\u043e\u0435\u043c \u043f\u0443\u0442\u0438&nbsp;\u0442\u0443&nbsp;\u0438\u043b\u0438&nbsp;\u0438\u043d\u0443\u044e \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c, RT \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 (\u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u044b \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432&nbsp;\u043e\u043d \u0438\u043d\u0441\u0442\u0430\u043d\u0446\u0438\u0438\u0440\u0443\u0435\u0442 \u043b\u0435\u043d\u0438\u0432\u043e, \u0441&nbsp;\u043b\u0430\u0439\u0444\u0442\u0430\u0439\u043c\u043e\u043c \u00ab1 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043d\u0430&nbsp;\u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441&nbsp;\u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430\u00bb). \u041d\u0430&nbsp;\u044d\u0442\u043e\u0442&nbsp;\u043f\u0440\u043e\u0446\u0435\u0441\u0441&nbsp;\u043c\u043e\u0436\u043d\u043e&nbsp;\u043f\u043e\u0432\u043b\u0438\u044f\u0442\u044c, \u0443\u043a\u0430\u0437\u0430\u0432&nbsp;\u043a\u0430\u043a\u043e\u0439 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e&nbsp;\u043c\u043e\u0436\u043d\u043e&nbsp;\u0441&nbsp;\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438&nbsp;(\u043f\u043e\u043b\u0435 CodeGeneratorType, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0435\u0441\u0442\u044c \u0432&nbsp;\u043b\u044e\u0431\u043e\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0435 RT)&nbsp;\u2014 \u0442\u0443\u0442 \u043d\u0435\u0442 \u00ab\u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442&nbsp;\u0434\u0443\u0440\u0430\u043a\u0430\u00bb, \u043d\u043e&nbsp;\u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f&nbsp;\u0447\u0442\u043e&nbsp;\u0432\u044b \u0443\u043a\u0430\u0436\u0435\u0442\u0435 typeof \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u0430&nbsp;\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430&nbsp;Reinforced.Typings.Generators.ITsCodeGenerator \u0441&nbsp;\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c T, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u043d\u0430\u0434&nbsp;\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f&nbsp;\u0430\u0442\u0440\u0438\u0431\u0443\u0442. \u0410 \u0435\u0449\u0435 \u043c\u043e\u0436\u043d\u043e&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Fluent-\u0432\u044b\u0437\u043e\u0432&nbsp;.WithCodeGenerator. \u0422\u0430\u043c \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u00ab\u0437\u0430\u0449\u0438\u0442\u0430&nbsp;\u043e\u0442&nbsp;\u0434\u0443\u0440\u0430\u043a\u0430\u00bb \u0438&nbsp;\u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0443&nbsp;\u0432\u0430\u0441&nbsp;\u043d\u0435&nbsp;\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f.<br \/>  \u0415\u0441\u0442\u044c \u0432&nbsp;\u043d\u0430\u043b\u0438\u0447\u0438\u0438&nbsp;\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e&nbsp;\u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432. \u0412\u0441\u0435 \u043e\u043d\u0438&nbsp;\u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b \u0432&nbsp;\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0435\u043d Reinforced.Typings.Generators. \u0418\u043c\u0435\u044e\u0442\u0441\u044f&nbsp;\u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0434\u043b\u044f&nbsp;\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430, \u043a\u043b\u0430\u0441\u0441\u0430, \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430, \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f, \u043f\u043e\u043b\u044f, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043c\u0435\u0442\u043e\u0434\u0430&nbsp;\u0438&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430&nbsp;\u043c\u0435\u0442\u043e\u0434\u0430. \u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431&nbsp;\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;\u2014 \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c\u0441\u044f&nbsp;\u043e\u0442&nbsp;\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e. \u0414\u0430\u043b\u0435\u0435 (\u043f\u043e&nbsp;\u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438)&nbsp;\u2014 \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c\u0441\u044f&nbsp;\u043e\u0442&nbsp;TsCodeGeneratorBase&lt;T1, T2&gt;, \u0433\u0434\u0435 T1&nbsp;\u2014 \u0442\u0438\u043f \u0432\u0445\u043e\u0434\u043d\u043e\u0439 reflection-\u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u0430&nbsp;T2&nbsp;\u2014 \u0442\u0438\u043f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430&nbsp;\u0432&nbsp;\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0434\u0435\u0440\u0435\u0432\u0435 (\u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a&nbsp;RtNode). \u041d\u0443&nbsp;\u0438&nbsp;\u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442&nbsp;\u2014 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0439\u0441&nbsp;ITsCodeGenerator \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e&nbsp;\u0432&nbsp;\u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432&nbsp;\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435&nbsp;\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f, \u0438\u0431\u043e&nbsp;\u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0437\u043d\u0430\u043d\u0438\u044f&nbsp;\u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u0435\u0439 \u0438&nbsp;\u0447\u0442\u0435\u043d\u0438\u044f&nbsp;\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e, \u0434\u0430&nbsp;\u0438&nbsp;\u043d\u0435\u0437\u0430\u0447\u0435\u043c.<br \/>  \u041c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043d\u0430\u0448 JQueryActionCallGenerator \u043f\u0440\u043e\u0441\u0442\u043e&nbsp;\u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u043e\u0442&nbsp;\u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e&nbsp;\u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430&nbsp;\u0434\u043b\u044f&nbsp;\u043c\u0435\u0442\u043e\u0434\u043e\u0432. \u0418\u0442\u0430\u043a, \u0432\u043e\u0442&nbsp;\u043d\u0430\u0448 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0441&nbsp;\u0434\u0435\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438&nbsp;\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438: <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">System<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">System.Linq<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">System.Reflection<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">Reinforced.Typings.Ast<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">Reinforced.Typings.Generators<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp;<\/li>\n<li><font color=\"#008080\"><i>\/\/\/ &lt;summary&gt;<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u041d\u0430\u0448 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043b\u044f \u043e\u0431\u0435\u0440\u0442\u043e\u043a \u043d\u0430 \u0432\u044b\u0437\u043e\u0432\u044b \u043c\u0435\u0442\u043e\u0434\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430.<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u041e\u043d \u0437\u0430\u0442\u043e\u0447\u0435\u043d \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0431\u0440\u0430\u0442\u044c \u043d\u0430 \u0432\u0445\u043e\u0434 MethodInfo \u0438 \u043f\u0440\u043e\u0434\u0443\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 RtFunction, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043a\u0443\u0441\u043e\u043a \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430 <\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u0441 TypeScript-\u043e\u043c.<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u041a\u0430\u043a \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u044b\u0448\u0435, \u043c\u044b \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u0441\u044f \u043e\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0432 RT MethodCodeGenerator, <\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 \u0441 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u043e\u0439 \u0438 \u043f\u0443\u0441\u0442\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ &lt;\/summary&gt;<\/i><\/font><\/li>\n<li><font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>class<\/b><\/font> JQueryActionCallGenerator <font color=\"#008000\">:<\/font> MethodCodeGenerator<\/li>\n<li><font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ &lt;summary&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043c\u044b \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043c\u0435\u0442\u043e\u0434 GenerateNode. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u044d\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u0447\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 \u0432 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0435.<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ &lt;\/summary&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ &lt;param name=&quot;element&quot;&gt;\u041c\u0435\u0442\u043e\u0434, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043a\u043e\u0434 \u0432 \u0432\u0438\u0434\u0435 MethodInfo&lt;\/param&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ &lt;param name=&quot;result&quot;&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0430\u044f AST-\u043d\u043e\u0434\u0430 (RtFunction).<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ \u041c\u044b \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0434\u0443 &quot;\u0441 \u043d\u0443\u043b\u044f&quot;. \u0418 \u0447\u0435\u0441\u0442\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u044f \u0437\u0430\u0431\u044b\u043b \u043f\u043e\u0447\u0435\u043c\u0443 \u043f\u0440\u0438\u043d\u044f\u043b \u0442\u0430\u043a\u043e\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 :)<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ \u041d\u043e \u043c\u044b \u0432\u0441\u0435 \u0435\u0449\u0435 \u043c\u043e\u0436\u0435\u043c \u0432\u0435\u0440\u043d\u0443\u0442\u044c null, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043d\u043e\u0434\u0443\/\u043c\u0435\u0442\u043e\u0434 \u0438\u0437 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e TypeScript-\u0444\u0430\u0439\u043b\u0430<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ &lt;\/param&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ &lt;param name=&quot;resolver&quot;&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ \u0410 \u044d\u0442\u043e - \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 TypeResolver-\u0430. \u042d\u0442\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u0438\u043f\u043e\u0432 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u043c TypeScript-\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0438\u0447\u0435\u0433\u043e \u0440\u0443\u043a\u0430\u043c\u0438. &nbsp; &nbsp;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ &lt;\/param&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008080\"><i>\/\/\/ &lt;returns&gt;RtFunction (\u043e\u043d\u0430 \u0436\u0435 \u043d\u043e\u0434\u0430 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430, \u043e\u043d\u0430 \u0436\u0435 AST-\u043d\u043e\u0434\u0430)&lt;\/returns&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#0600FF\"><b>override<\/b><\/font> RtFuncion GenerateNode<font color=\"#008000\">(<\/font>MethodInfo element, RtFuncion result, TypeResolver resolver<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043e\u0431\u0435\u0440\u0442\u043a\u0443 \u043c\u0435\u0442\u043e\u0434\u0430 &quot;\u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e&quot;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0435\u0451 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0442\u044c<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result <font color=\"#008000\">=<\/font> &nbsp;<font color=\"#0600FF\"><b>base<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">GenerateNode<\/font><font color=\"#008000\">(<\/font>element, result, resolver<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0415\u0441\u043b\u0438 \u043f\u043e \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043f\u0443\u0441\u0442\u0430\u044f \u043d\u043e\u0434\u0430 - \u0437\u043d\u0430\u0447\u0438\u0442 \u0442\u0430\u043a \u043d\u0430\u0434\u043e<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0432\u043c\u0435\u0448\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>if<\/b><\/font> <font color=\"#008000\">(<\/font>result <font color=\"#008000\">==<\/font> <font color=\"#0600FF\"><b>null<\/b><\/font><font color=\"#008000\">)<\/font> <font color=\"#0600FF\"><b>return<\/b><\/font> <font color=\"#0600FF\"><b>null<\/b><\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u0435\u043b\u0430\u0435\u043c \u043d\u0430\u0448 \u043c\u0435\u0442\u043e\u0434 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">IsStatic<\/font> <font color=\"#008000\">=<\/font> <font color=\"#0600FF\"><b>true<\/b><\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0410 \u0442\u0430\u043a \u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a \u043c\u0435\u0442\u043e\u0434\u0443 \u043f\u0430\u0440\u0443 \u043b\u0438\u0448\u043d\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0434\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d, \u043f\u043e\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0434\u0442\u0438 \u0432\u044b\u0437\u043e\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430,<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0430 \u0442\u0430\u043a \u0436\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Arguments<\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Add<\/b><\/font><font color=\"#008000\">(<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">new<\/font> RtArgument<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Identifier <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtIdentifier<font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;loadingPlaceholderSelector&quot;<\/font><font color=\"#008000\">)<\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type <font color=\"#008000\">=<\/font> resolver<font color=\"#008000\">.<\/font><font color=\"#0000FF\">ResolveTypeName<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font><font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>string<\/b><\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DefaultValue <font color=\"#008000\">=<\/font> <font color=\"#666666\">&quot;''&quot;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">}<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Arguments<\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Add<\/b><\/font><font color=\"#008000\">(<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<font color=\"#008000\">new<\/font> RtArgument<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Identifier <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtIdentifier<font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;disableElement&quot;<\/font><font color=\"#008000\">)<\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Type <font color=\"#008000\">=<\/font> resolver<font color=\"#008000\">.<\/font><font color=\"#0000FF\">ResolveTypeName<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font><font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>string<\/b><\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DefaultValue <font color=\"#008000\">=<\/font> <font color=\"#666666\">&quot;''&quot;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<font color=\"#008000\">}<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0438\u0431\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c JQueryPromise<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> retType <font color=\"#008000\">=<\/font> result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">ReturnType<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ ... \u0438 \u0435\u0441\u043b\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0439 \u0442\u0438\u043f - void, \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u043c JQueryPromise&lt;any&gt;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#6666cc\"><b>bool<\/b><\/font> isVoid <font color=\"#008000\">=<\/font> <font color=\"#008000\">(<\/font>retType <font color=\"#008000\">is<\/font> RtSimpleTypeName<font color=\"#008000\">)<\/font> <font color=\"#008000\">&amp;&amp;<\/font> <font color=\"#008000\">(<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">(<\/font>RtSimpleTypeName<font color=\"#008000\">)<\/font> retType<font color=\"#008000\">)<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">TypeName<\/font> <font color=\"#008000\">==<\/font> <font color=\"#666666\">&quot;void&quot;<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0437\u0434\u0435\u0441\u044c \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e TypeResolver \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c AST-\u043d\u043e\u0434\u0443 \u0434\u043b\u044f \u0438\u043c\u0435\u043d\u0438 \u0442\u0438\u043f\u0430 &quot;any&quot; <\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 TypeResolver-\u0430<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ (\u043d\u0443 \u0438 \u0435\u0449\u0435 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0435\u043d\u0438\u0432 \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c any \u0440\u0443\u043a\u0430\u043c\u0438)<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>if<\/b><\/font> <font color=\"#008000\">(<\/font>isVoid<font color=\"#008000\">)<\/font> retType <font color=\"#008000\">=<\/font> resolver<font color=\"#008000\">.<\/font><font color=\"#0000FF\">ResolveTypeName<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font> <font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>object<\/b><\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041e\u043a\u0435\u0439, \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430, \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u044f \u0435\u0433\u043e<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0432 JQueryPromise<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043b\u0430\u0441\u0441 RtSimpleType, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u044f \u0435\u043c\u0443 generic-\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b, <\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u0443\u0433\u043b\u043e\u0432\u044b\u0435 \u0441\u043a\u043e\u0431\u043a\u0438 \u0440\u0443\u043a\u0430\u043c\u0438<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">ReturnType<\/font> <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtSimpleTypeName<font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;JQueryPromise&quot;<\/font>, <font color=\"#008000\">new<\/font><font color=\"#008000\">[<\/font><font color=\"#008000\">]<\/font> <font color=\"#008000\">{<\/font> retType <font color=\"#008000\">}<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0435\u043b\u043e \u0437\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438. \u0414\u043e\u0441\u0442\u0430\u0435\u043c \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 reflection.<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u044d\u043a\u0441\u0442\u0435\u043d\u0448\u043d .GetName() \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u044c \u0438\u043c\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u042d\u0442\u043e\u0442 \u044d\u043a\u0441\u0442\u0435\u043d\u0448\u043d \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441 Reinforced.Typings \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u043c\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u043c\u0435\u0442\u043e\u0434\u0430 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 Fluent-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0438\u043b\u0438 <\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0430\u0442\u0440\u0438\u0431\u0443\u0442 [TsParameter]<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> p <font color=\"#008000\">=<\/font> element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">GetParameters<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Select<\/b><\/font><font color=\"#008000\">(<\/font>c <font color=\"#008000\">=&gt;<\/font> <font color=\"#6666cc\"><b>string<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;'{0}': {0}&quot;<\/font>, c<font color=\"#008000\">.<\/font><font color=\"#0000FF\">GetName<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0421\u0446\u0435\u043f\u043b\u044f\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u0434\u0430 \u0442\u0435\u043b\u0430 \u043c\u0435\u0442\u043e\u0434\u0430<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> dataParameters <font color=\"#008000\">=<\/font> <font color=\"#6666cc\"><b>string<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Join<\/b><\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;, &quot;<\/font>, p<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u043e\u0441\u0442\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0417\u0434\u0435\u0441\u044c \u0443 \u043d\u0430\u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u044f MVC-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u043d\u0430 \/{controller}\/{action}<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e \u043e\u043d \u0435\u0441\u0442\u044c (\u0445\u043e\u0442\u044f \u043a\u043e\u0433\u043e \u044f \u043e\u0431\u043c\u0430\u043d\u044b\u0432\u0430\u044e, \u043e\u043d \u0435\u0441\u0442\u044c \u0432 90% \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439)<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#6666cc\"><b>string<\/b><\/font> controller <font color=\"#008000\">=<\/font> element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">DeclaringType<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Name<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Replace<\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;Controller&quot;<\/font>, <font color=\"#6666cc\"><b>String<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Empty<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#6666cc\"><b>string<\/b><\/font> path <font color=\"#008000\">=<\/font> <font color=\"#6666cc\"><b>String<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;\/{0}\/{1}&quot;<\/font>, controller, element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Name<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0422\u0435\u043f\u0435\u0440\u044c \u043b\u0435\u043f\u0438\u043c glue-\u043a\u043e\u0434 \u0441 \u0432\u044b\u0437\u043e\u0432\u043e\u043c QueryController, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u0432 query.ts<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#6666cc\"><b>string<\/b><\/font> code <font color=\"#008000\">=<\/font> <font color=\"#6666cc\"><b>String<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font><\/li>\n<li><font color=\"#666666\">@&quot;return QueryController.query&lt;{2}&gt;(<\/font><\/li>\n<li><font color=\"#666666\"> &nbsp; &nbsp;'{0}', <\/font><\/li>\n<li><font color=\"#666666\"> &nbsp; &nbsp;{{ {1} }}, <\/font><\/li>\n<li><font color=\"#666666\"> &nbsp; &nbsp;loadingPlaceholderSelector,<\/font><\/li>\n<li><font color=\"#666666\"> &nbsp; &nbsp;disableElement<\/font><\/li>\n<li><font color=\"#666666\">);&quot;<\/font>, <\/li>\n<li>&nbsp; &nbsp;path, dataParameters, retType<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u0434 \u0432 RtRaw \u0438 \u0437\u0430\u043f\u0438\u0445\u0438\u0432\u0430\u0435\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0435\u043b\u0430 \u0432 \u043d\u0430\u0448 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Body<\/font> <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtRaw<font color=\"#008000\">(<\/font>code<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e JSDOC-\u0430, \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0430\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0431\u044b\u043b\u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0435\u0435<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Documentation<\/font> <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtJsdocNode<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">{<\/font>Description <font color=\"#008000\">=<\/font> <font color=\"#6666cc\"><b>String<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;Wrapper method for call {0} of {1}&quot;<\/font>,element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Name<\/font>,element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">DeclaringType<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Name<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">}<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c RtFunction<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0430, \u044d\u0442\u043e \u0434\u043e\u0431\u0440\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 project.ts<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>return<\/b><\/font> result<font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li><font color=\"#008000\">}<\/font> <\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u041a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0433\u043e\u0442\u043e\u0432. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e&nbsp;\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0448\u0435\u043c\u0443&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0443&nbsp;Rebuild. \u0415\u0441\u043b\u0438&nbsp;\u0443&nbsp;\u0432\u0430\u0441&nbsp;\u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0442 \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e&nbsp;\u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438&nbsp;\u0441&nbsp;\u043e\u0442\u043b\u0430\u0434\u043a\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432, \u0442\u043e&nbsp;\u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e&nbsp;\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430&nbsp;Context \u0442\u0438\u043f\u0430&nbsp;ExportContext. \u0423 \u0442\u043e\u0433\u043e&nbsp;\u043d\u0430\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e&nbsp;Warnings, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0435 \u0441\u043e\u0431\u043e\u0439 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e RtWarning-\u043e\u0432. \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0442\u0443\u0434\u0430&nbsp;\u0441\u0432\u043e\u0439&nbsp;\u2014 \u043e\u043d \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f&nbsp;\u0432&nbsp;\u043e\u043a\u043e\u0448\u043a\u043e&nbsp;Warnings \u0432&nbsp;\u0441\u0442\u0443\u0434\u0438\u0438&nbsp;\u043f\u0440\u0438&nbsp;\u0431\u0438\u043b\u0434\u0435 (\u044d\u0442\u0430&nbsp;\u0444\u0438\u0447\u0430&nbsp;\u0431\u044b\u043b\u0430&nbsp;\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430&nbsp;\u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e&nbsp;\u043d\u0435\u0434\u0430\u0432\u043d\u043e, \u0432&nbsp;\u0432\u0435\u0440\u0441\u0438\u0438&nbsp;1.2.2).<\/p>\n<p>  \u0414\u043b\u044f&nbsp;\u0442\u0435\u0445, \u043a\u043e\u043c\u0443&nbsp;\u043d\u0435&nbsp;\u0442\u0435\u0440\u043f\u0438\u0442\u0441\u044f, \u043f\u0440\u0438\u0432\u043e\u0436\u0443&nbsp;\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0440\u0430\u0442\u043e\u0440\u0430:   <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li>module Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#FF0000\">export<\/font> <font color=\"#FF0000\">interface<\/font> ISampleResponseModel<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Message<font color=\"#339933\">:<\/font> string<font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Success<font color=\"#339933\">:<\/font> <font color=\"#FF0000\">boolean<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CurrentTime<font color=\"#339933\">:<\/font> string<font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li><font color=\"#009900\">}<\/font><\/li>\n<li>module Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Controllers<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#FF0000\">export<\/font> <font color=\"#FF0000\">class<\/font> JQueryController<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#006600\"><i>\/** Wrapper method for call SimpleIntMethod of JQueryController *\/<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public <font color=\"#000066\"><b>static<\/b><\/font> SimpleIntMethod<font color=\"#009900\">(<\/font>loadingPlaceholderSelector<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#339933\">,<\/font> disableElement<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> JQueryPromise<font color=\"#339933\">&lt;<\/font>number<font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> QueryController.<font color=\"#660066\">query<\/font><font color=\"#339933\">&lt;<\/font>number<font color=\"#339933\">&gt;<\/font><font color=\"#009900\">(<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#3366CC\">'\/JQuery\/SimpleIntMethod'<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font> &nbsp;<font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadingPlaceholderSelector<font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disableElement<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#006600\"><i>\/** Wrapper method for call MethodWithParameters of JQueryController *\/<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public <font color=\"#000066\"><b>static<\/b><\/font> MethodWithParameters<font color=\"#009900\">(<\/font>num<font color=\"#339933\">:<\/font> number<font color=\"#339933\">,<\/font> s<font color=\"#339933\">:<\/font> string<font color=\"#339933\">,<\/font> boolValue<font color=\"#339933\">:<\/font> <font color=\"#FF0000\">boolean<\/font><font color=\"#339933\">,<\/font> loadingPlaceholderSelector<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#339933\">,<\/font> disableElement<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> JQueryPromise<font color=\"#339933\">&lt;<\/font>string<font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> QueryController.<font color=\"#660066\">query<\/font><font color=\"#339933\">&lt;<\/font>string<font color=\"#339933\">&gt;<\/font><font color=\"#009900\">(<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#3366CC\">'\/JQuery\/MethodWithParameters'<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font> <font color=\"#3366CC\">'num'<\/font><font color=\"#339933\">:<\/font> num<font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'s'<\/font><font color=\"#339933\">:<\/font> s<font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'boolValue'<\/font><font color=\"#339933\">:<\/font> boolValue <font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadingPlaceholderSelector<font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disableElement<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#006600\"><i>\/** Wrapper method for call ReturningObject of JQueryController *\/<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public <font color=\"#000066\"><b>static<\/b><\/font> ReturningObject<font color=\"#009900\">(<\/font>loadingPlaceholderSelector<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#339933\">,<\/font> disableElement<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> JQueryPromise<font color=\"#339933\">&lt;<\/font>Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font>.<font color=\"#660066\">ISampleResponseModel<\/font><font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> QueryController.<font color=\"#660066\">query<\/font><font color=\"#339933\">&lt;<\/font>Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font>.<font color=\"#660066\">ISampleResponseModel<\/font><font color=\"#339933\">&gt;<\/font><font color=\"#009900\">(<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#3366CC\">'\/JQuery\/ReturningObject'<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font> &nbsp;<font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadingPlaceholderSelector<font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disableElement<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#006600\"><i>\/** Wrapper method for call ReturningObjectWithParameters of JQueryController *\/<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public <font color=\"#000066\"><b>static<\/b><\/font> ReturningObjectWithParameters<font color=\"#009900\">(<\/font>echo<font color=\"#339933\">:<\/font> string<font color=\"#339933\">,<\/font> loadingPlaceholderSelector<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#339933\">,<\/font> disableElement<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> JQueryPromise<font color=\"#339933\">&lt;<\/font>Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font>.<font color=\"#660066\">ISampleResponseModel<\/font><font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> QueryController.<font color=\"#660066\">query<\/font><font color=\"#339933\">&lt;<\/font>Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font>.<font color=\"#660066\">ISampleResponseModel<\/font><font color=\"#339933\">&gt;<\/font><font color=\"#009900\">(<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#3366CC\">'\/JQuery\/ReturningObjectWithParameters'<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font> <font color=\"#3366CC\">'echo'<\/font><font color=\"#339933\">:<\/font> echo <font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadingPlaceholderSelector<font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disableElement<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#006600\"><i>\/** Wrapper method for call VoidMethodWithParameters of JQueryController *\/<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public <font color=\"#000066\"><b>static<\/b><\/font> VoidMethodWithParameters<font color=\"#009900\">(<\/font>model<font color=\"#339933\">:<\/font> Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font>.<font color=\"#660066\">ISampleResponseModel<\/font><font color=\"#339933\">,<\/font> loadingPlaceholderSelector<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#339933\">,<\/font> disableElement<font color=\"#339933\">:<\/font> string <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">''<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> JQueryPromise<font color=\"#339933\">&lt;<\/font>any<font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> QueryController.<font color=\"#660066\">query<\/font><font color=\"#339933\">&lt;<\/font>any<font color=\"#339933\">&gt;<\/font><font color=\"#009900\">(<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#3366CC\">'\/JQuery\/VoidMethodWithParameters'<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font> <font color=\"#3366CC\">'model'<\/font><font color=\"#339933\">:<\/font> model <font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font> <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadingPlaceholderSelector<font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disableElement<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li><font color=\"#009900\">}<\/font> <\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u0422\u0430\u043a&nbsp;\u0436\u0435 \u0432\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442&nbsp;\u2014 \u0435\u0441\u043b\u0438&nbsp;\u0432\u0430\u0448 \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e&nbsp;\u0438&nbsp;\u0432\u044b\u0434\u0430\u043b \u043e\u0448\u0438\u0431\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f&nbsp;\u0441\u0434\u0435\u043b\u0430\u043b\u0430&nbsp;\u0432\u0430\u0448\u0438&nbsp;TypeScript-\u044b \u043d\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u044b\u043c\u0438&nbsp;\u0438&nbsp;\u0442\u0435\u043f\u0435\u0440\u044c \u0443&nbsp;\u0432\u0430\u0441&nbsp;\u043d\u0435&nbsp;\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f&nbsp;\u0441\u043e\u043b\u044e\u0448\u0435\u043d, \u0447\u0442\u043e\u0431\u044b \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0442\u0430\u0439\u043f\u0438\u043d\u0433\u0438&nbsp;\u2014 \u043f\u043e\u0439\u0434\u0438\u0442\u0435 \u0432&nbsp;Reinforced.Typings.settings.xml, \u0447\u0442\u043e&nbsp;\u0432&nbsp;\u043a\u043e\u0440\u043d\u0435&nbsp;\u0432\u0430\u0448\u0435\u0433\u043e&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430&nbsp;\u0438&nbsp;\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0442\u0430\u043c&nbsp;RtBypassTypeScriptCompilation \u0432&nbsp;true. \u042d\u0442\u043e&nbsp;\u0441\u043c\u0435\u0441\u0442\u0438\u0442 MSBuild-\u0437\u0430\u0434\u0430\u0447\u0443&nbsp;\u0441\u0431\u043e\u0440\u043a\u0438&nbsp;TypeScript-\u043e\u0432&nbsp;\u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0430&nbsp;\u0432\u044b\u0437\u044b\u0432\u0430\u043b\u0430\u0441\u044c \u043f\u043e\u0441\u043b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430&nbsp;(\u0430&nbsp;\u043d\u0435&nbsp;\u0434\u043e, \u043a\u0430\u043a&nbsp;\u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e&nbsp;\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e). \u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435&nbsp;\u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u043e\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u0438\u0431\u043e&nbsp;\u043a\u0430\u043a&nbsp;\u0431\u0443\u0434\u0443\u0447\u0438&nbsp;\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0432&nbsp;\u0445\u043e\u0434\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f&nbsp;\u0437\u0430\u0434\u0430\u0447 \u043f\u0430\u0431\u043b\u0438\u0448\u0438\u043d\u0433\u0430, \u044d\u0442\u043e\u0442&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438&nbsp;\u043a&nbsp;\u0442\u043e\u043c\u0443, \u0447\u0442\u043e&nbsp;\u0442\u0430\u0439\u043f\u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043d\u0435&nbsp;\u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f&nbsp;\u043f\u0435\u0440\u0435\u0434&nbsp;\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0435\u0439. \u0418 \u044d\u0442\u043e&nbsp;\u043d\u0435&nbsp;\u043e\u0441\u043e\u0431\u043e&nbsp;\u0432\u0435\u0441\u0435\u043b\u043e.<\/p>\n<h2>\u0428\u0430\u0433 4. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n<p>  \u041d\u0430&nbsp;\u044d\u0442\u043e\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f&nbsp;\u0432&nbsp;\u0432\u0430\u0448 IndexPage.ts \u0438&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u0438\u0437&nbsp;\u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e&nbsp;\u043d\u0430\u043c\u0438&nbsp;\u043a\u043b\u0430\u0441\u0441\u0430&nbsp;JQueryController. \u0412 \u0446\u0435\u043b\u043e\u043c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e&nbsp;\u043f\u0440\u043e\u0437\u0430\u0438\u0447\u043d\u043e&nbsp;\u0438&nbsp;\u043c\u043e\u043d\u043e\u0442\u043e\u043d\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443&nbsp;\u044f&nbsp;\u043f\u043e\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0432\u0430\u043c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e&nbsp;\u044d\u0442\u0438\u043c \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f&nbsp;\u0438&nbsp;\u0438\u0441\u043f\u044b\u0442\u0430\u0442\u044c \u043a\u0430\u043a&nbsp;\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 IntelliSense. \u041a\u043e\u0434 \u0432\u0441\u0435\u0433\u043e&nbsp;IndexPage.ts \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u043d\u0438\u0436\u0435: <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li>module Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Pages<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#FF0000\">import<\/font> JQueryController <font color=\"#339933\">=<\/font> Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Controllers<\/font>.<font color=\"#660066\">JQueryController<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; <font color=\"#FF0000\">export<\/font> <font color=\"#FF0000\">class<\/font> IndexPage <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; constructor<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#btnSimpleInt'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">click<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">btnSimpleIntClick<\/font>.<font color=\"#660066\">bind<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#btnMethodWithParameters'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">click<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">btnMethodWithParametersClick<\/font>.<font color=\"#660066\">bind<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#btnReturningObject'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">click<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">btnReturningObjectClick<\/font>.<font color=\"#660066\">bind<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#btnReturningObjectWithParameters'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">click<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">btnReturningObjectWithParametersClick<\/font>.<font color=\"#660066\">bind<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#btnVoidMethodWithParameters'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">click<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">btnVoidMethodWithParametersClick<\/font>.<font color=\"#660066\">bind<\/font><font color=\"#009900\">(<\/font><font color=\"#000066\"><b>this<\/b><\/font><font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; private btnSimpleIntClick<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JQueryController.<font color=\"#660066\">SimpleIntMethod<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#loading'<\/font><font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'#btnSimpleInt'<\/font><font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font>r <font color=\"#339933\">=&gt;<\/font> $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#result'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">html<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'Server tells us '<\/font> <font color=\"#339933\">+<\/font> r<font color=\"#009900\">)<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; private btnMethodWithParametersClick<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JQueryController.<font color=\"#660066\">MethodWithParameters<\/font><font color=\"#009900\">(<\/font>Math.<font color=\"#660066\">random<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'string'<\/font> <font color=\"#339933\">+<\/font> Math.<font color=\"#660066\">random<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">,<\/font> Math.<font color=\"#660066\">random<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">&gt;<\/font> <font color=\"#CC0000\">0.5<\/font><font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'#loading'<\/font><font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'#btnMethodWithParameters'<\/font><font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font>r <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#result'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">html<\/font><font color=\"#009900\">(<\/font>r<font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; private btnReturningObjectClick<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JQueryController.<font color=\"#660066\">ReturningObject<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#loading'<\/font><font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'#btnReturningObject'<\/font><font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font>r <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> s <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">&quot;&lt;pre&gt; { &lt;br\/&gt;&quot;<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>for<\/b><\/font> <font color=\"#009900\">(<\/font><font color=\"#000066\"><b>var<\/b><\/font> key <font color=\"#000066\"><b>in<\/b><\/font> r<font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s <font color=\"#339933\">+=<\/font> ` &nbsp;$<font color=\"#009900\">{<\/font>key<font color=\"#009900\">}<\/font><font color=\"#339933\">:<\/font> $<font color=\"#009900\">{<\/font>r<font color=\"#009900\">[<\/font>key<font color=\"#009900\">]<\/font><font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font>\\n`<font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s <font color=\"#339933\">+=<\/font> <font color=\"#3366CC\">'} &lt;\/pre&gt;'<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#result'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">html<\/font><font color=\"#009900\">(<\/font>s<font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; private btnReturningObjectWithParametersClick<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> str <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">'Random number: '<\/font> <font color=\"#339933\">+<\/font> Math.<font color=\"#660066\">random<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">*<\/font> <font color=\"#CC0000\">100<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JQueryController.<font color=\"#660066\">ReturningObjectWithParameters<\/font><font color=\"#009900\">(<\/font>str<font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'#loading'<\/font><font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'#btnReturningObjectWithParameters'<\/font><font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font>r <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> s <font color=\"#339933\">=<\/font> <font color=\"#3366CC\">&quot;&lt;pre&gt; { &lt;br\/&gt;&quot;<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>for<\/b><\/font> <font color=\"#009900\">(<\/font><font color=\"#000066\"><b>var<\/b><\/font> key <font color=\"#000066\"><b>in<\/b><\/font> r<font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s <font color=\"#339933\">+=<\/font> ` &nbsp;$<font color=\"#009900\">{<\/font>key<font color=\"#009900\">}<\/font><font color=\"#339933\">:<\/font> $<font color=\"#009900\">{<\/font>r<font color=\"#009900\">[<\/font>key<font color=\"#009900\">]<\/font><font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font>\\n`<font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s <font color=\"#339933\">+=<\/font> <font color=\"#3366CC\">'} &lt;\/pre&gt;'<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#result'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">html<\/font><font color=\"#009900\">(<\/font>s<font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; private btnVoidMethodWithParametersClick<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JQueryController.<font color=\"#660066\">VoidMethodWithParameters<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Message<font color=\"#339933\">:<\/font> <font color=\"#3366CC\">'Hello'<\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Success<font color=\"#339933\">:<\/font> <font color=\"#003366\"><b>true<\/b><\/font><font color=\"#339933\">,<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CurrentTime<font color=\"#339933\">:<\/font> <font color=\"#003366\"><b>null<\/b><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'#loading'<\/font><font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'#btnVoidMethodWithParameters'<\/font><font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<font color=\"#009900\">(<\/font><font color=\"#3366CC\">'#result'<\/font><font color=\"#009900\">)<\/font>.<font color=\"#660066\">html<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'Void method executed but it does not return result'<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li><font color=\"#009900\">}<\/font> <\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<h2>\u0414\u043b\u044f&nbsp;\u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0435\u0439 Angular<\/h2>\n<p>  \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0432\u0441\u0435 \u0442\u043e&nbsp;\u0436\u0435 \u0441\u0430\u043c\u043e\u0435. \u041e\u0434\u043d\u0430\u043a\u043e, \u043f\u043e\u043c\u0438\u043c\u043e&nbsp;\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430&nbsp;\u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f&nbsp;\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043b\u044f&nbsp;\u0432\u0441\u0435\u0433\u043e&nbsp;\u043a\u043b\u0430\u0441\u0441\u0430, \u0438\u0431\u043e&nbsp;\u043a\u0430\u043a&nbsp;\u0432&nbsp;\u043b\u0443\u0447\u0448\u0438\u0445&nbsp;\u0442\u0440\u0430\u0434\u0438\u0446\u0438\u044f\u0445 \u0430\u043d\u0433\u0443\u043b\u044f\u0440\u0430, \u043d\u0435\u043f\u043b\u043e\u0445\u043e&nbsp;\u0431\u0443\u0434\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0432&nbsp;angular-\u0441\u0435\u0440\u0432\u0438\u0441. \u0418\u0442\u0430\u043a, \u043f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 DefinitelyTyped \u0434\u043b\u044f&nbsp;angular.js, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0441\u0430\u043c angular \u0447\u0435\u0440\u0435\u0437&nbsp;NuGet \u0438&nbsp;\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430&nbsp;\u043a\u043e\u0434 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430&nbsp;\u043c\u0435\u0442\u043e\u0434\u043e\u0432. \u041e\u043d \u043d\u0435\u043c\u043d\u043e\u0433\u043e&nbsp;\u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f&nbsp;\u043e\u0442&nbsp;jQuery-\u0435\u0432\u0441\u043a\u043e\u0433\u043e&nbsp;\u0432&nbsp;\u0441\u0438\u043b\u0443&nbsp;\u0442\u043e\u0433\u043e, \u0447\u0442\u043e&nbsp;\u043d\u0430\u0434\u043e&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u043e\u043c\u0438\u0441\u044b, \u0430&nbsp;\u0442\u0430\u043a&nbsp;\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c $http.post \u0432\u043c\u0435\u0441\u0442\u043e&nbsp;$.ajax: <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">System<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">System.Linq<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">System.Reflection<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">Reinforced.Typings.Ast<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">Reinforced.Typings.Generators<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li><font color=\"#008080\"><i>\/\/\/ &lt;summary&gt;<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043e\u0431\u0435\u0440\u0442\u043e\u043a \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0434\u043b\u044f angular.js<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ &lt;\/summary&gt;<\/i><\/font><\/li>\n<li><font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>class<\/b><\/font> AngularActionCallGenerator <font color=\"#008000\">:<\/font> MethodCodeGenerator<\/li>\n<li><font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#0600FF\"><b>override<\/b><\/font> RtFuncion GenerateNode<font color=\"#008000\">(<\/font>MethodInfo element, RtFuncion result, TypeResolver resolver<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result <font color=\"#008000\">=<\/font> <font color=\"#0600FF\"><b>base<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">GenerateNode<\/font><font color=\"#008000\">(<\/font>element, result, resolver<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>if<\/b><\/font> <font color=\"#008000\">(<\/font>result <font color=\"#008000\">==<\/font> <font color=\"#0600FF\"><b>null<\/b><\/font><font color=\"#008000\">)<\/font> <font color=\"#0600FF\"><b>return<\/b><\/font> <font color=\"#0600FF\"><b>null<\/b><\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0442\u0438\u043f \u043c\u0435\u0442\u043e\u0434\u0430 \u043f\u043e\u0434 \u043d\u0430\u0448 \u043f\u0440\u043e\u043c\u0438\u0441<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> retType <font color=\"#008000\">=<\/font> result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">ReturnType<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#6666cc\"><b>bool<\/b><\/font> isVoid <font color=\"#008000\">=<\/font> <font color=\"#008000\">(<\/font>retType <font color=\"#008000\">is<\/font> RtSimpleTypeName<font color=\"#008000\">)<\/font> <font color=\"#008000\">&amp;&amp;<\/font> <font color=\"#008000\">(<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">(<\/font>RtSimpleTypeName<font color=\"#008000\">)<\/font>retType<font color=\"#008000\">)<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">TypeName<\/font> <font color=\"#008000\">==<\/font> <font color=\"#666666\">&quot;void&quot;<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u0442\u0440\u044e\u043a \u0441 void-\u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>if<\/b><\/font> <font color=\"#008000\">(<\/font>isVoid<font color=\"#008000\">)<\/font> retType <font color=\"#008000\">=<\/font> resolver<font color=\"#008000\">.<\/font><font color=\"#0000FF\">ResolveTypeName<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">typeof<\/font><font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>object<\/b><\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c angular.IPromise \u0432\u043c\u0435\u0441\u0442\u043e JQueryPromise<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">ReturnType<\/font> <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtSimpleTypeName<font color=\"#008000\">(<\/font><font color=\"#008000\">new<\/font><font color=\"#008000\">[<\/font><font color=\"#008000\">]<\/font> <font color=\"#008000\">{<\/font> retType <font color=\"#008000\">}<\/font>, <font color=\"#666666\">&quot;angular&quot;<\/font>, <font color=\"#666666\">&quot;IPromise&quot;<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u0435\u0442\u043e\u0434\u0430 - \u043f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u0436\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> p <font color=\"#008000\">=<\/font> element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">GetParameters<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Select<\/b><\/font><font color=\"#008000\">(<\/font>c <font color=\"#008000\">=&gt;<\/font> <font color=\"#6666cc\"><b>string<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;'{0}': {0}&quot;<\/font>, c<font color=\"#008000\">.<\/font><font color=\"#0000FF\">GetName<\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> dataParameters <font color=\"#008000\">=<\/font> <font color=\"#6666cc\"><b>string<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Join<\/b><\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;, &quot;<\/font>, p<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u043e\u0441\u0442\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#6666cc\"><b>string<\/b><\/font> controller <font color=\"#008000\">=<\/font> element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">DeclaringType<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Name<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Replace<\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;Controller&quot;<\/font>, <font color=\"#6666cc\"><b>String<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Empty<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#6666cc\"><b>string<\/b><\/font> path <font color=\"#008000\">=<\/font> <font color=\"#6666cc\"><b>String<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;\/{0}\/{1}&quot;<\/font>, controller, element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Name<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u0434 \u0447\u0435\u0440\u0435\u0437 this.http.post<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>const<\/b><\/font> <font color=\"#6666cc\"><b>string<\/b><\/font> code <font color=\"#008000\">=<\/font> <font color=\"#666666\">@&quot;var params = {{ {1} }};<\/font><\/li>\n<li><font color=\"#666666\">return this.http.post('{0}', params)<\/font><\/li>\n<li><font color=\"#666666\">.then((response) =&gt; {{ return response.data; }});&quot;<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0442\u0430\u043a \u0436\u0435 \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0432 RtRaw<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; RtRaw body <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtRaw<font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>String<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font>code, path, dataParameters<font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Body<\/font> <font color=\"#008000\">=<\/font> body<font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>return<\/b><\/font> result<font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li><font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u0412\u043e\u0442&nbsp;\u0438&nbsp;\u0432\u0441\u044f&nbsp;\u043c\u0430\u0433\u0438\u044f. \u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0437\u0430\u0434\u0430\u0442\u044c \u044d\u0442\u043e\u0442&nbsp;\u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043b\u044f&nbsp;\u0432\u0441\u0435\u0445 angular-friendly \u043c\u0435\u0442\u043e\u0434\u043e\u0432&nbsp;\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432&nbsp;\u0447\u0435\u0440\u0435\u0437&nbsp;\u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u0438\u043b\u0438&nbsp;\u0447\u0435\u0440\u0435\u0437&nbsp;Fluent-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e.<\/p>\n<p>  \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043b\u044f&nbsp;\u043a\u043b\u0430\u0441\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u044d\u0442\u0438&nbsp;\u043c\u0435\u0442\u043e\u0434\u044b. \u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430&nbsp;\u0432&nbsp;\u0442\u043e\u043c, \u0447\u0442\u043e&nbsp;\u043c\u0435\u0442\u043e\u0434\u044b \u0443&nbsp;\u043d\u0430\u0441&nbsp;\u043e\u0442\u043d\u044b\u043d\u0435&nbsp;\u043d\u0435&nbsp;\u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f&nbsp;\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 http, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441&nbsp;$http, \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0436\u0435\u043a\u0442\u0438\u0442\u044c \u044d\u0442\u043e\u0442&nbsp;\u0441\u0435\u0440\u0432\u0438\u0441, \u0430&nbsp;\u0442\u0430\u043a&nbsp;\u0436\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044e \u043d\u0430\u0448\u0435\u0433\u043e&nbsp;\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440-\u0441\u0435\u0440\u0432\u0438\u0441\u0430&nbsp;\u0432&nbsp;\u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. <br \/>  \u0417\u0434\u0435\u0441\u044c \u044f&nbsp;\u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u044e \u0447\u0442\u043e&nbsp;\u0443&nbsp;\u0432\u0430\u0441&nbsp;\u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0433\u0434\u0435-\u0442\u043e&nbsp;\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f&nbsp;\u0432\u0430\u0448\u0435\u0433\u043e&nbsp;\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f&nbsp;\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0430&nbsp;angular.module \u0438&nbsp;\u0441\u0430\u043c \u043c\u043e\u0434\u0443\u043b\u044c \u043b\u0435\u0436\u0438\u0442 \u0432&nbsp;\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 app. <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">System<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">Reinforced.Typings.Ast<\/font><font color=\"#008000\">;<\/font><\/li>\n<li><font color=\"#0600FF\"><b>using<\/b><\/font> <font color=\"#008080\">Reinforced.Typings.Generators<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li><font color=\"#008080\"><i>\/\/\/ &lt;summary&gt;<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440, \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043d\u0430\u0448\u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u0432 angular-\u0441\u0435\u0440\u0432\u0438\u0441.<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432<\/i><\/font><\/li>\n<li><font color=\"#008080\"><i>\/\/\/ &lt;\/summary&gt;<\/i><\/font><\/li>\n<li><font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#6666cc\"><b>class<\/b><\/font> AngularControllerGenerator <font color=\"#008000\">:<\/font> ClassCodeGenerator<\/li>\n<li><font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#0600FF\"><b>public<\/b><\/font> <font color=\"#0600FF\"><b>override<\/b><\/font> RtClass GenerateNode<font color=\"#008000\">(<\/font>Type element, RtClass result, TypeResolver resolver<font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041e\u043f\u044f\u0442\u044c \u0436\u0435 - \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0441\u043e &quot;\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e&quot; \u043a\u043b\u0430\u0441\u0441\u0430, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result <font color=\"#008000\">=<\/font> <font color=\"#0600FF\"><b>base<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">GenerateNode<\/font><font color=\"#008000\">(<\/font>element, result, resolver<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>if<\/b><\/font> <font color=\"#008000\">(<\/font>result <font color=\"#008000\">==<\/font> <font color=\"#0600FF\"><b>null<\/b><\/font><font color=\"#008000\">)<\/font> <font color=\"#0600FF\"><b>return<\/b><\/font> <font color=\"#0600FF\"><b>null<\/b><\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0436\u043a\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Documentation<\/font> <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtJsdocNode<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">{<\/font>Description <font color=\"#008000\">=<\/font> <font color=\"#666666\">&quot;Result of AngularControllerGenerator activity&quot;<\/font><font color=\"#008000\">}<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0438\u043c\u044f \u0442\u0438\u043f\u0430 angular.IHttpService<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>var<\/b><\/font> httpServiceType <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtSimpleTypeName<font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;IHttpService&quot;<\/font><font color=\"#008000\">)<\/font> <font color=\"#008000\">{<\/font> <font color=\"#0600FF\"><b>Namespace<\/b><\/font> <font color=\"#008000\">=<\/font> <font color=\"#666666\">&quot;angular&quot;<\/font> <font color=\"#008000\">}<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440,... &nbsp; &nbsp; &nbsp; &nbsp;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; RtConstructor constructor <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtConstructor<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ ... \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 $http: angular.IHttpService<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; constructor<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Arguments<\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Add<\/b><\/font><font color=\"#008000\">(<\/font><font color=\"#008000\">new<\/font> RtArgument<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">{<\/font>Type <font color=\"#008000\">=<\/font> httpServiceType,Identifier <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtIdentifier<font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;$http&quot;<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">}<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0435\u0433\u043e \u0442\u0435\u043b\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 - <\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0437\u0430\u043d\u0435\u0441\u0435\u043d\u0438\u0435 $http \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; constructor<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Body<\/font> <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtRaw<font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;this.http = $http;&quot;<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u043b\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0441\u0435\u0431\u0435 $http<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; RtField httpServiceField <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtField<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type <font color=\"#008000\">=<\/font> httpServiceType,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Identifier <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtIdentifier<font color=\"#008000\">(<\/font><font color=\"#666666\">&quot;http&quot;<\/font><font color=\"#008000\">)<\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AccessModifier <font color=\"#008000\">=<\/font> AccessModifier<font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Private<\/b><\/font>,<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Documentation <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtJsdocNode<font color=\"#008000\">(<\/font><font color=\"#008000\">)<\/font> <font color=\"#008000\">{<\/font> Description <font color=\"#008000\">=<\/font> <font color=\"#666666\">&quot;\u0425\u0440\u0430\u043d\u0438\u0442 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 $http \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430&quot;<\/font><font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008000\">}<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u043a\u0443\u0442\u043e\u0440 \u0438 \u043f\u043e\u043b\u0435 \u0432 \u043d\u0430\u0448 \u043a\u043b\u0430\u0441\u0441<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Members<\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Add<\/b><\/font><font color=\"#008000\">(<\/font>httpServiceField<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Members<\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Add<\/b><\/font><font color=\"#008000\">(<\/font>constructor<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041a\u043e\u0434 \u0434\u043b\u044f \u0441\u0442\u0440\u043e\u0447\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448 \u043a\u043b\u0430\u0441\u0441 \u0432 \u043c\u043e\u0434\u0443\u043b\u0435 \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0438\u043d\u044a\u0435\u043a\u0446\u0438\u0438<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0438\u0434\u0442\u0438 \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0435\u043c Api.%Something%Controller<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>const<\/b><\/font> <font color=\"#6666cc\"><b>string<\/b><\/font> initializerFormat <font color=\"#008000\">=<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#666666\">&quot;if (window['app']) window['app'].factory('Api.{0}', ['$http', ($http: angular.IHttpService) =&gt; new {1}($http)]);&quot;<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; RtRaw registration <font color=\"#008000\">=<\/font> <font color=\"#008000\">new<\/font> RtRaw<font color=\"#008000\">(<\/font><font color=\"#6666cc\"><b>String<\/b><\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">Format<\/font><font color=\"#008000\">(<\/font>initializerFormat,element<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Name<\/font>,result<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Name<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 (\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 Context), \u0431\u0435\u0440\u0435\u043c \u0443 \u043d\u0435\u0433\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u044e\u043d\u0438\u0442\u043e\u0432 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Context.Location.CurrentModule.CompilationUnits <\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f CompilationUnits \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435 RtNode, \u0442\u0430\u043a \u0447\u0442\u043e<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u0432 \u043d\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0445\u043d\u0443\u0442\u044c \u0432\u0441\u0435, \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e RtRaw<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#008080\"><i>\/\/ \u041f\u043e \u0441\u0435\u043c\u0443, \u0441\u043c\u0435\u043b\u043e \u043f\u0438\u0445\u0430\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044e \u043f\u0440\u044f\u043c\u043e \u0432\u043e\u0442 \u0442\u0443\u0434\u0430 &nbsp; &nbsp; &nbsp; &nbsp;<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; Context<font color=\"#008000\">.<\/font><font color=\"#0000FF\">Location<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">CurrentModule<\/font><font color=\"#008000\">.<\/font><font color=\"#0000FF\">CompilationUnits<\/font><font color=\"#008000\">.<\/font><font color=\"#0600FF\"><b>Add<\/b><\/font><font color=\"#008000\">(<\/font>registration<font color=\"#008000\">)<\/font><font color=\"#008000\">;<\/font> &nbsp; &nbsp; &nbsp; &nbsp;<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#0600FF\"><b>return<\/b><\/font> result<font color=\"#008000\">;<\/font><\/li>\n<li>&nbsp; &nbsp; <font color=\"#008000\">}<\/font><\/li>\n<li><font color=\"#008000\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u0435 \u044d\u0442\u043e\u0442&nbsp;\u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043a&nbsp;\u0432\u0430\u0448\u0438\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u043c \u043b\u044e\u0431\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c (\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c \u0438\u043b\u0438&nbsp;Fluent-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439). \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e, \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438&nbsp;\u0441\u043c\u0435\u043b\u043e&nbsp;\u0438\u043d\u0436\u0435\u043a\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441&nbsp;\u0432&nbsp;\u0441\u0432\u043e\u0438&nbsp;angular-\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b. <br \/>  \u041e\u043f\u044f\u0442\u044c \u0436\u0435, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e\u0433\u043e&nbsp;\u043a\u043e\u0434\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430&nbsp;\u0434\u043b\u044f&nbsp;\u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445: <\/p>\n<blockquote><p><code><font color=\"black\"><\/p>\n<ol>\n<li>&nbsp;<\/li>\n<li>module Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Controllers<\/font> <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>if<\/b><\/font> <font color=\"#009900\">(<\/font>window<font color=\"#009900\">[<\/font><font color=\"#3366CC\">'app'<\/font><font color=\"#009900\">]<\/font><font color=\"#009900\">)<\/font> window<font color=\"#009900\">[<\/font><font color=\"#3366CC\">'app'<\/font><font color=\"#009900\">]<\/font>.<font color=\"#660066\">factory<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'Api.AngularController'<\/font><font color=\"#339933\">,<\/font> <font color=\"#009900\">[<\/font><font color=\"#3366CC\">'$http'<\/font><font color=\"#339933\">,<\/font> <font color=\"#009900\">(<\/font>$http<font color=\"#339933\">:<\/font> ng.<font color=\"#660066\">IHttpService<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#000066\"><b>new<\/b><\/font> AngularController<font color=\"#009900\">(<\/font>$http<font color=\"#009900\">)<\/font><font color=\"#009900\">]<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#006600\"><i>\/** Result of AngularControllerGenerator activity *\/<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#FF0000\">export<\/font> <font color=\"#FF0000\">class<\/font> AngularController<\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; constructor <font color=\"#009900\">(<\/font>$http<font color=\"#339933\">:<\/font> ng.<font color=\"#660066\">IHttpService<\/font><font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">http<\/font> <font color=\"#339933\">=<\/font> $http<font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public SimpleIntMethod<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> ng.<font color=\"#660066\">IPromise<\/font><font color=\"#339933\">&lt;<\/font>number<font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> params <font color=\"#339933\">=<\/font> <font color=\"#009900\">{<\/font> &nbsp;<font color=\"#009900\">}<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> <font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">http<\/font>.<font color=\"#660066\">post<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'\/Angular\/SimpleIntMethod'<\/font><font color=\"#339933\">,<\/font> params<font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">(<\/font>response<font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font> response.<font color=\"#660066\">data<\/font><font color=\"#009900\">[<\/font><font color=\"#3366CC\">'requestParams'<\/font><font color=\"#009900\">]<\/font> <font color=\"#339933\">=<\/font> params<font color=\"#339933\">;<\/font> <font color=\"#000066\"><b>return<\/b><\/font> response.<font color=\"#660066\">data<\/font><font color=\"#339933\">;<\/font> <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public MethodWithParameters<font color=\"#009900\">(<\/font>num<font color=\"#339933\">:<\/font> number<font color=\"#339933\">,<\/font> s<font color=\"#339933\">:<\/font> string<font color=\"#339933\">,<\/font> boolValue<font color=\"#339933\">:<\/font> <font color=\"#FF0000\">boolean<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> ng.<font color=\"#660066\">IPromise<\/font><font color=\"#339933\">&lt;<\/font>string<font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> params <font color=\"#339933\">=<\/font> <font color=\"#009900\">{<\/font> <font color=\"#3366CC\">'num'<\/font><font color=\"#339933\">:<\/font> num<font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'s'<\/font><font color=\"#339933\">:<\/font> s<font color=\"#339933\">,<\/font> <font color=\"#3366CC\">'boolValue'<\/font><font color=\"#339933\">:<\/font> boolValue <font color=\"#009900\">}<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> <font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">http<\/font>.<font color=\"#660066\">post<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'\/Angular\/MethodWithParameters'<\/font><font color=\"#339933\">,<\/font> params<font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">(<\/font>response<font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font> response.<font color=\"#660066\">data<\/font><font color=\"#009900\">[<\/font><font color=\"#3366CC\">'requestParams'<\/font><font color=\"#009900\">]<\/font> <font color=\"#339933\">=<\/font> params<font color=\"#339933\">;<\/font> <font color=\"#000066\"><b>return<\/b><\/font> response.<font color=\"#660066\">data<\/font><font color=\"#339933\">;<\/font> <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public ReturningObject<font color=\"#009900\">(<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> ng.<font color=\"#660066\">IPromise<\/font><font color=\"#339933\">&lt;<\/font>Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font>.<font color=\"#660066\">ISampleResponseModel<\/font><font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> params <font color=\"#339933\">=<\/font> <font color=\"#009900\">{<\/font> &nbsp;<font color=\"#009900\">}<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> <font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">http<\/font>.<font color=\"#660066\">post<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'\/Angular\/ReturningObject'<\/font><font color=\"#339933\">,<\/font> params<font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">(<\/font>response<font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font> response.<font color=\"#660066\">data<\/font><font color=\"#009900\">[<\/font><font color=\"#3366CC\">'requestParams'<\/font><font color=\"#009900\">]<\/font> <font color=\"#339933\">=<\/font> params<font color=\"#339933\">;<\/font> <font color=\"#000066\"><b>return<\/b><\/font> response.<font color=\"#660066\">data<\/font><font color=\"#339933\">;<\/font> <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public ReturningObjectWithParameters<font color=\"#009900\">(<\/font>echo<font color=\"#339933\">:<\/font> string<font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> ng.<font color=\"#660066\">IPromise<\/font><font color=\"#339933\">&lt;<\/font>Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font>.<font color=\"#660066\">ISampleResponseModel<\/font><font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> params <font color=\"#339933\">=<\/font> <font color=\"#009900\">{<\/font> <font color=\"#3366CC\">'echo'<\/font><font color=\"#339933\">:<\/font> echo <font color=\"#009900\">}<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> <font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">http<\/font>.<font color=\"#660066\">post<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'\/Angular\/ReturningObjectWithParameters'<\/font><font color=\"#339933\">,<\/font> params<font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">(<\/font>response<font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font> response.<font color=\"#660066\">data<\/font><font color=\"#009900\">[<\/font><font color=\"#3366CC\">'requestParams'<\/font><font color=\"#009900\">]<\/font> <font color=\"#339933\">=<\/font> params<font color=\"#339933\">;<\/font> <font color=\"#000066\"><b>return<\/b><\/font> response.<font color=\"#660066\">data<\/font><font color=\"#339933\">;<\/font> <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public VoidMethodWithParameters<font color=\"#009900\">(<\/font>model<font color=\"#339933\">:<\/font> Reinforced.<font color=\"#660066\">Typings<\/font>.<font color=\"#660066\">Samples<\/font>.<font color=\"#660066\">Difficult<\/font>.<font color=\"#660066\">CodeGenerators<\/font>.<font color=\"#660066\">Models<\/font>.<font color=\"#660066\">ISampleResponseModel<\/font><font color=\"#009900\">)<\/font> <font color=\"#339933\">:<\/font> ng.<font color=\"#660066\">IPromise<\/font><font color=\"#339933\">&lt;<\/font>any<font color=\"#339933\">&gt;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">{<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>var<\/b><\/font> params <font color=\"#339933\">=<\/font> <font color=\"#009900\">{<\/font> <font color=\"#3366CC\">'model'<\/font><font color=\"#339933\">:<\/font> model <font color=\"#009900\">}<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#000066\"><b>return<\/b><\/font> <font color=\"#000066\"><b>this<\/b><\/font>.<font color=\"#660066\">http<\/font>.<font color=\"#660066\">post<\/font><font color=\"#009900\">(<\/font><font color=\"#3366CC\">'\/Angular\/VoidMethodWithParameters'<\/font><font color=\"#339933\">,<\/font> params<font color=\"#009900\">)<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<font color=\"#660066\">then<\/font><font color=\"#009900\">(<\/font><font color=\"#009900\">(<\/font>response<font color=\"#009900\">)<\/font> <font color=\"#339933\">=&gt;<\/font> <font color=\"#009900\">{<\/font> response.<font color=\"#660066\">data<\/font><font color=\"#009900\">[<\/font><font color=\"#3366CC\">'requestParams'<\/font><font color=\"#009900\">]<\/font> <font color=\"#339933\">=<\/font> params<font color=\"#339933\">;<\/font> <font color=\"#000066\"><b>return<\/b><\/font> response.<font color=\"#660066\">data<\/font><font color=\"#339933\">;<\/font> <font color=\"#009900\">}<\/font><font color=\"#009900\">)<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#006600\"><i>\/** Keeps $http instance received on construction *\/<\/i><\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; private http<font color=\"#339933\">:<\/font> ng.<font color=\"#660066\">IHttpService<\/font><font color=\"#339933\">;<\/font><\/li>\n<li>&nbsp; &nbsp; &nbsp; &nbsp; <font color=\"#009900\">}<\/font><\/li>\n<li><font color=\"#009900\">}<\/font><\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p><\/font><\/code><\/p><\/blockquote>\n<p>  \u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u043e\u043b\u043d\u0430\u044f&nbsp;\u0432\u0435\u0440\u0441\u0438\u044f&nbsp;\u0444\u0430\u0439\u043b\u0430&nbsp;\u0438\u0437&nbsp;\u043f\u0440\u0438\u043c\u0435\u0440\u0430&nbsp;\u0432\u0436\u0438\u0432\u0443\u044e \u043b\u0435\u0436\u0438\u0442 <a href=\"https:\/\/github.com\/reinforced\/Reinforced.Typings\/blob\/master\/Samples\/Difficult\/Reinforced.Typings.Samples.Difficult.CodeGenerators\/Scripts\/ReinforcedTypings\/GeneratedTypings.ts\">\u0432\u043e\u0442&nbsp;\u0442\u0443\u0442<\/a>.<\/p>\n<h2>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e<\/h2>\n<p>  \u0422\u0430\u043a&nbsp;\u0436\u0435 \u0432&nbsp;RT \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438&nbsp;\u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432&nbsp;\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 TypeScript-\u043a\u043e\u0434 XMLDOC \u0438\u0437&nbsp;\u043c\u0435\u0442\u043e\u0434\u043e\u0432&nbsp;\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432. \u041f\u043e\u043c\u0438\u043c\u043e&nbsp;\u0434\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044f&nbsp;RtJsdocNode \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0440\u0443\u043a\u0430\u043c\u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u043e\u0434\u0445\u043e\u0434: <br \/>  1) \u041f\u0440\u043e\u0439\u0434\u0438\u0442\u0435 \u0432&nbsp;Reinforced.Typings.settings.xml \u0438&nbsp;\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0442\u0430\u043c&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 RtGenerateDocumentation \u0432&nbsp;True<br \/>  2) \u0412\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 XMLDOC-\u0430&nbsp;\u0434\u043b\u044f&nbsp;\u0432\u0430\u0448\u0435\u0433\u043e&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e, \u0449\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043c\u044b\u0448\u0438&nbsp;\u043d\u0430&nbsp;\u0432\u0430\u0448\u0435\u043c .csproj-\u0435, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 Properties, \u043f\u0440\u043e\u0439\u0434\u0438\u0442\u0435 \u043d\u0430&nbsp;\u0432\u043a\u043b\u0430\u0434\u043a\u0443&nbsp;Build \u0438&nbsp;\u043f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0433\u0430\u043b\u043e\u0447\u043a\u0443&nbsp;\u00abXML Documentation File\u00bb \u0432&nbsp;\u0441\u0435\u043a\u0446\u0438\u0438&nbsp;Output (\u0441\u043c. \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443). \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e&nbsp;\u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u0447\u0435\u0440\u0435\u0437&nbsp;Ctrl-S<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/bba\/006\/6c9\/bba0066c9df74de2a5f6f07736624394.png\" alt=\"\u0433\u0430\u043b\u043e\u0447\u043a\u0430 Xmldoc\"\/><br \/>  3) \u041f\u0435\u0440\u0435\u0441\u043e\u0431\u0435\u0440\u0438\u0442\u0435 \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f&nbsp;\u0417\u0434\u0435\u0441\u044c \u0432\u0430\u0436\u043d\u043e&nbsp;\u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0434\u0432\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438: \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445 \u043f\u043e&nbsp;\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0432&nbsp;Release-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438&nbsp;\u044d\u0442\u0430&nbsp;\u0433\u0430\u043b\u043e\u0447\u043a\u0430&nbsp;\u0443\u0436\u0435 \u0441\u0442\u043e\u0438\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443&nbsp;\u043a\u0430\u043a&nbsp;\u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 RtGenerateDocumentation \u0438&nbsp;\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433 \u0441\u0431\u043e\u0440\u043a\u0438&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430&nbsp;\u043d\u0430&nbsp;Release. <br \/>  \u0412\u0442\u043e\u0440\u0430\u044f&nbsp;\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c&nbsp;\u2014 \u0435\u0441\u043b\u0438&nbsp;\u0432\u043e\u043b\u0435\u044e \u0441\u0443\u0434\u0435\u0431 \u0432\u044b \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442\u0435 \u0442\u0438\u043f\u044b \u0441&nbsp;fluent-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u0438\u0437&nbsp;\u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438, \u0442\u043e&nbsp;RT \u043d\u0430\u0434\u043e&nbsp;\u044f\u0432\u043d\u043e&nbsp;\u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0444\u0430\u0439\u043b \u0441&nbsp;\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u043d\u0430\u0434\u043e&nbsp;\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c (\u043f\u043e\u043c\u0438\u043c\u043e&nbsp;\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e). \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e&nbsp;\u043c\u043e\u0436\u043d\u043e&nbsp;\u0441&nbsp;\u043f\u043e\u043c\u043e\u0449\u044c\u044e Fluent-\u0432\u044b\u0437\u043e\u0432\u0430&nbsp;ConfigurationBuilder.TryLookupDocumentationForAssembly, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443&nbsp;\u043d\u0430\u0434\u043e&nbsp;\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u0431\u043e\u0440\u043a\u0443&nbsp;\u0438\u0437&nbsp;\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0438\u0434\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u0438&nbsp;\u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a&nbsp;XML-\u0444\u0430\u0439\u043b\u0443&nbsp;\u0441&nbsp;\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439.<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u0418\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432&nbsp;\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438&nbsp;<a href=\"https:\/\/github.com\/reinforced\/Reinforced.Typings\/tree\/master\/Samples\">Reinforced.Typings<\/a>. \u042f \u043e\u0442\u043a\u0440\u044b\u0442 \u043a&nbsp;\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c, \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c \u0438&nbsp;\u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f\u043c \u0432&nbsp;\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a&nbsp;\u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0430&nbsp;\u0442\u0430\u043a&nbsp;\u0436\u0435 \u0432&nbsp;Issues \u043a&nbsp;\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e RT. \u0415\u0449\u0435 \u0443&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430&nbsp;\u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f&nbsp;<a href=\"https:\/\/github.com\/reinforced\/Reinforced.Typings\/wiki\">github-wiki<\/a> \u043d\u0430&nbsp;\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f&nbsp;\u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e \u043f\u043e&nbsp;\u043c\u0435\u0440\u0435 \u043d\u0430\u043b\u0438\u0447\u0438\u044f&nbsp;\u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e&nbsp;\u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0422\u0430\u043a&nbsp;\u0436\u0435 \u0431\u044b\u043b (\u0438&nbsp;\u0435\u0441\u0442\u044c) \u043f\u0440\u043e\u0435\u043a\u0442 \u0441&nbsp;\u0440\u0443\u0441\u0441\u043a\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u043d\u0430&nbsp;RTFD, \u043d\u043e&nbsp;\u043e\u043d \u0441\u0435\u0439\u0447\u0430\u0441&nbsp;\u0432&nbsp;\u0441\u0443\u0441\u043f\u0435\u043d\u0434\u0435. <br \/>  \u0427\u0442\u043e&nbsp;\u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f&nbsp;\u0441\u0442\u0430\u0442\u0435\u0439 \u0438&nbsp;\u043f\u043b\u0430\u043d\u043e\u0432&nbsp;\u043d\u0430&nbsp;\u0431\u0443\u0434\u0443\u0449\u0435\u0435, \u0442\u043e&nbsp;\u044f&nbsp;\u0432\u0438\u0436\u0443&nbsp;\u0442\u0430\u043a&nbsp;\u0447\u0442\u043e&nbsp;\u044d\u0442\u043e&nbsp;\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f&nbsp;\u0441\u0442\u0430\u0442\u044c\u044f&nbsp;\u043f\u0440\u043e&nbsp;RT, \u0442\u0430\u043a&nbsp;\u043a\u0430\u043a&nbsp;\u0441\u0430\u043c \u043f\u043e&nbsp;\u0441\u0435\u0431\u0435 RT \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f&nbsp;\u043b\u0438\u0448\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c \u043c\u043e\u0435\u0433\u043e&nbsp;\u0434\u0440\u0443\u0433\u043e\u0433\u043e&nbsp;\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430&nbsp;\u2014 Reinforced.Lattice, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f&nbsp;\u0432\u044b\u043b\u043e\u0436\u0443&nbsp;\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e&nbsp;\u043f\u043e\u0437\u0436\u0435, \u0438\u0431\u043e&nbsp;\u043a\u0430\u043a&nbsp;\u0441\u0435\u0439\u0447\u0430\u0441&nbsp;\u043e\u043d \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0441\u0442\u0430\u0434\u0438\u044e \u043e\u0431\u043a\u0430\u0442\u043a\u0438&nbsp;\u0438&nbsp;\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f&nbsp;\u043d\u0430&nbsp;\u0436\u0438\u0432\u044b\u0445 \u043b\u044e\u0434\u044f\u0445. \u041c\u043d\u0435&nbsp;\u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e&nbsp;\u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e&nbsp;\u043e\u043d \u0432\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f. \u0422\u0430\u043a&nbsp;\u0447\u0442\u043e, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f&nbsp;\u0441\u0442\u0430\u0442\u044c\u044f&nbsp;\u043e\u0442&nbsp;\u043c\u0435\u043d\u044f&nbsp;\u0431\u0443\u0434\u0435\u0442 \u0443\u0436\u0435 \u043f\u0440\u043e&nbsp;Lattice \u0438, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043d\u0435&nbsp;\u0441\u043a\u043e\u0440\u043e. <\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e&nbsp;\u0447\u0442\u043e&nbsp;\u0434\u043e\u0447\u0438\u0442\u0430\u043b\u0438&nbsp;\u0434\u043e&nbsp;\u043a\u043e\u043d\u0446\u0430. \u042d\u0442\u043e&nbsp;\u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043c\u043d\u0435&nbsp;\u043d\u0435&nbsp;\u0437\u0430\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442:)<br \/>  ______________________  <\/p>\n<h6>\u0422\u0435\u043a\u0441\u0442 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d \u0432 <a href=\"http:\/\/www.softcoder.ru\/blogeditor\/\">\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 \u0411\u043b\u043e\u0433\u043e\u0432<\/a> \u043e\u0442 &copy; SoftCoder.ru<\/h6>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/278961\/\"> https:\/\/habrahabr.ru\/post\/278961\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442<br \/>  \u0418 \u0432\u043e\u0442, \u0435\u0449\u0435 \u043e\u0434\u043d\u0430&nbsp;(\u0438&nbsp;\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f) \u0441\u0442\u0430\u0442\u044c\u044f-\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e&nbsp;\u043c\u043e\u0435\u043c\u0443&nbsp;\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0443&nbsp;\u0434\u043b\u044f&nbsp;\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438&nbsp;TypeScript-\u043e\u0432\u043e\u0433\u043e&nbsp;glue-\u043a\u043e\u0434\u0430: Reinforced.Typings. \u0421\u0435\u0433\u043e\u0434\u043d\u044f&nbsp;\u043c\u044b \u043d\u0430\u0443\u0447\u0438\u0441\u044f&nbsp;\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438&nbsp;\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c TypeScript-\u043e\u0431\u0435\u0440\u0442\u043a\u0438&nbsp;\u0434\u043b\u044f&nbsp;\u0432\u044b\u0437\u043e\u0432\u043e\u0432&nbsp;\u043c\u0435\u0442\u043e\u0434\u043e\u0432&nbsp;MVC-\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432, \u0441\u043d\u0430\u0431\u0436\u0430\u0442\u044c \u0438\u0445&nbsp;\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u0438&nbsp;\u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043f\u043e&nbsp;\u0440\u0430\u0437\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u0430\u043c. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0432\u0430\u0441&nbsp;\u043f\u043e\u0440\u0430\u0434\u0443\u0435\u0442 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e&nbsp;\u0431\u044b\u0441\u0442\u0440\u043e&nbsp;\u0438&nbsp;\u043b\u0435\u0433\u043a\u043e&nbsp;\u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f&nbsp;\u0442\u0430\u043a\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438&nbsp;\u0441&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c RT. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u043c\u043e\u0435\u0433\u043e&nbsp;\u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430&nbsp;\u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u043a\u043b\u0430\u0441\u0441\u0430-\u0445\u044d\u043b\u043f\u0435\u0440\u0430&nbsp;\u0434\u043b\u044f&nbsp;\u0432\u044b\u0437\u043e\u0432\u043e\u0432&nbsp;\u043c\u0435\u0442\u043e\u0434\u043e\u0432&nbsp;\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432&nbsp;\u0441&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c jQuery \u0438&nbsp;promise-\u043e\u0432, \u0430&nbsp;\u0442\u0430\u043a&nbsp;\u0436\u0435 \u0441\u0435\u0440\u0432\u0438\u0441&nbsp;\u0434\u043b\u044f&nbsp;angular.js, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0433\u043e\u0442\u043e\u0432&nbsp;\u0434\u043b\u044f&nbsp;\u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043d\u0438\u044f&nbsp;\u0432&nbsp;\u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438&nbsp;\u043f\u0440\u0438\u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f&nbsp;\u0432&nbsp;\u043d\u0435\u0433\u043e&nbsp;\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0445 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0439 \u043a&nbsp;\u043c\u0435\u0442\u043e\u0434\u0430\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0432&nbsp;\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0439 TypeScript \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0434\u043b\u044f&nbsp;\u044d\u0442\u043e\u0433\u043e&nbsp;\u0434\u0435\u043b\u0430&nbsp;(\u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0438\u0437&nbsp;XMLDOC) \u0438&nbsp;\u0440\u0430\u0437\u043b\u043e\u0436\u0438\u043c \u043f\u043e&nbsp;\u0444\u0430\u0439\u043b\u0430\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435&nbsp;\u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0438\u0432\u0430\u043b\u043e\u0441\u044c. \u0412\u0441\u0435\u043c \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0438&nbsp;\u0436\u0435\u043b\u0430\u044e\u0449\u0438\u043c \u0437\u0430\u0438\u043c\u0435\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0448\u0442\u0443\u043a\u0443&nbsp;\u0432&nbsp;\u0441\u0432\u043e\u0438\u0445&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0434\u043e\u0431\u0440\u043e&nbsp;\u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434&nbsp;\u043a\u0430\u0442.   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-275853","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/275853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=275853"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/275853\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=275853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=275853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=275853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}