aview-app 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aview-app might be problematic. Click here for more details.

Files changed (1127) hide show
  1. package/README.md +18 -0
  2. package/aardio/aardio.exe +0 -0
  3. package/aardio/config/CFG.BIN +0 -0
  4. package/aardio/config/RECENT.PROJECT.TABLE +8 -0
  5. package/aardio/config/SYS.CFG +1 -0
  6. package/aardio/config/SYS.THEME +124 -0
  7. package/aardio/config/USR.CFG +16 -0
  8. package/aardio/config/USR.THEME +124 -0
  9. package/aardio/config/intellisense/kernel.txt +634 -0
  10. package/aardio/config/intellisense/unimportant.txt +108 -0
  11. package/aardio/config/intellisense/web.layout.behavior.txt +81 -0
  12. package/aardio/config/intellisense/web.sciter.behavior.txt +94 -0
  13. package/aardio/config/intellisense/winform.txt +215 -0
  14. package/aardio/config/lang/lib.txt +210 -0
  15. package/aardio/config/themes/dark.xml +124 -0
  16. package/aardio/config/themes/light.xml +124 -0
  17. package/aardio/extensions/extlibver.table +13 -0
  18. package/aardio/extensions/ide.aardio +386 -0
  19. package/aardio/extensions/plugin/view/bbx.aardio +52 -0
  20. package/aardio/extensions/plugin/view/config.aardio +52 -0
  21. package/aardio/extensions/plugin/view/dsktip.aardio +84 -0
  22. package/aardio/extensions/plugin/view/res/content/getting-started.htm +15 -0
  23. package/aardio/extensions/plugin/view/res/images/body-back.png +0 -0
  24. package/aardio/extensions/plugin/view/res/images/loading.png +0 -0
  25. package/aardio/extensions/plugin/view/res/images/panel-back.png +0 -0
  26. package/aardio/extensions/plugin/view/res/images/panel-caption-back.png +0 -0
  27. package/aardio/extensions/plugin/view/res/start-page.htm +216 -0
  28. package/aardio/extensions/plugin/view/startPage.aardio +329 -0
  29. package/aardio/extensions/plugin/view/startPage.aardio.plugin +329 -0
  30. package/aardio/extensions/res/app.ico +0 -0
  31. package/aardio/extensions/trigger/before-publish.aardio +57 -0
  32. package/aardio/extensions/trigger/copyCodeAsHtml.aardio +26 -0
  33. package/aardio/extensions/trigger/default.aproj +10 -0
  34. package/aardio/extensions/trigger/edit-default.aardio +71 -0
  35. package/aardio/extensions/trigger/edit.aardio +83 -0
  36. package/aardio/extensions/trigger/gotoFile.aardio +1 -0
  37. package/aardio/extensions/trigger/init.aardio +17 -0
  38. package/aardio/extensions/trigger/lib/config.aardio +8 -0
  39. package/aardio/extensions/trigger/openProject.aardio +39 -0
  40. package/aardio/extensions/trigger/publish-website.aardio +168 -0
  41. package/aardio/extensions/trigger/publish.aardio +386 -0
  42. package/aardio/extensions/trigger/res/config/publish.table +5 -0
  43. package/aardio/extensions/wizard/files/console.aardio +5 -0
  44. package/aardio/extensions/wizard/files/default.main.aardio +8 -0
  45. package/aardio/extensions/wizard/files/layout-blank.aardio +231 -0
  46. package/aardio/extensions/wizard/files/layout.aardio +15 -0
  47. package/aardio/extensions/wizard/files/webform-blank.aardio +84 -0
  48. package/aardio/extensions/wizard/files/webform.aardio +17 -0
  49. package/aardio/extensions/wizard/files/website.main.aardio +14 -0
  50. package/aardio/extensions/wizard/files/winform.aardio +9 -0
  51. package/aardio/extensions/wizard/project/win/default.aproj +4 -0
  52. package/aardio/extensions/wizard/project2/.build//351/253/230/347/272/247/351/200/211/351/241/271/345/215/241.Manifest.xml +60 -0
  53. package/aardio/extensions/wizard/project2/.build//351/253/230/347/272/247/351/200/211/351/241/271/345/215/241.init.aardio +2 -0
  54. package/aardio/extensions/wizard/project2/.build//351/253/230/347/272/247/351/200/211/351/241/271/345/215/241.main.aardio +6 -0
  55. package/aardio/extensions/wizard/project2/forms/console/console.aardio +16 -0
  56. package/aardio/extensions/wizard/project2/forms/console/service.aardio +41 -0
  57. package/aardio/extensions/wizard/project2/forms/console.aardio +90 -0
  58. package/aardio/extensions/wizard/project2/forms/fastcgi.aardio +168 -0
  59. package/aardio/extensions/wizard/project2/forms/images/console.jpg +0 -0
  60. package/aardio/extensions/wizard/project2/forms/images/electron.jpg +0 -0
  61. package/aardio/extensions/wizard/project2/forms/images/htmlayout.jpg +0 -0
  62. package/aardio/extensions/wizard/project2/forms/images/winform.jpg +0 -0
  63. package/aardio/extensions/wizard/project2/forms/plus/first.aardio +17 -0
  64. package/aardio/extensions/wizard/project2/forms/plus/icon.aardio +122 -0
  65. package/aardio/extensions/wizard/project2/forms/plus/images/1.jpg +0 -0
  66. package/aardio/extensions/wizard/project2/forms/plus/tabs.aardio +119 -0
  67. package/aardio/extensions/wizard/project2/forms/plus.aardio +94 -0
  68. package/aardio/extensions/wizard/project2/forms/web/chromeApp.aardio +62 -0
  69. package/aardio/extensions/wizard/project2/forms/web/electron.aardio +19 -0
  70. package/aardio/extensions/wizard/project2/forms/web/htmlayout.aardio +16 -0
  71. package/aardio/extensions/wizard/project2/forms/web/sciter.aardio +16 -0
  72. package/aardio/extensions/wizard/project2/forms/web/view.aardio +67 -0
  73. package/aardio/extensions/wizard/project2/forms/web/webform.aardio +60 -0
  74. package/aardio/extensions/wizard/project2/forms/web/webkit.aardio +49 -0
  75. package/aardio/extensions/wizard/project2/forms/web.aardio +105 -0
  76. package/aardio/extensions/wizard/project2/forms/website.aardio +175 -0
  77. package/aardio/extensions/wizard/project2/forms/winform/bat.aardio +46 -0
  78. package/aardio/extensions/wizard/project2/forms/winform/blank.aardio +20 -0
  79. package/aardio/extensions/wizard/project2/forms/winform/demo.aardio +20 -0
  80. package/aardio/extensions/wizard/project2/forms/winform/images/paint.png +0 -0
  81. package/aardio/extensions/wizard/project2/forms/winform/java.aardio +67 -0
  82. package/aardio/extensions/wizard/project2/forms/winform/paint.aardio +21 -0
  83. package/aardio/extensions/wizard/project2/forms/winform/python.aardio +101 -0
  84. package/aardio/extensions/wizard/project2/forms/winform.aardio +82 -0
  85. package/aardio/extensions/wizard/project2/lib/style/_.aardio +4 -0
  86. package/aardio/extensions/wizard/project2/lib/style/main.aardio +47 -0
  87. package/aardio/extensions/wizard/project2/main.aardio +248 -0
  88. package/aardio/extensions/wizard/project2/res/icons/console.png +0 -0
  89. package/aardio/extensions/wizard/project2/res/icons/fastcgi.png +0 -0
  90. package/aardio/extensions/wizard/project2/res/icons/plus.png +0 -0
  91. package/aardio/extensions/wizard/project2/res/icons/web.png +0 -0
  92. package/aardio/extensions/wizard/project2/res/icons/website.png +0 -0
  93. package/aardio/extensions/wizard/project2/res/icons/winform.png +0 -0
  94. package/aardio/extensions/wizard/project2/res/images/bg.gif +0 -0
  95. package/aardio/extensions/wizard/project2/res/images/check-active1.png +0 -0
  96. package/aardio/extensions/wizard/project2/res/images/check-disabled1.png +0 -0
  97. package/aardio/extensions/wizard/project2/res/images/check-hover1.png +0 -0
  98. package/aardio/extensions/wizard/project2/res/images/check1.png +0 -0
  99. package/aardio/extensions/wizard/project2/res/images/main-nav-bg-active.png +0 -0
  100. package/aardio/extensions/wizard/project2/res/images/main-nav-bg-hover.png +0 -0
  101. package/aardio/extensions/wizard/project2/res/images/main-nav-bg.png +0 -0
  102. package/aardio/extensions/wizard/project2/res/images/uncheck-active1.png +0 -0
  103. package/aardio/extensions/wizard/project2/res/images/uncheck-disabled1.png +0 -0
  104. package/aardio/extensions/wizard/project2/res/images/uncheck-hover1.png +0 -0
  105. package/aardio/extensions/wizard/project2/res/images/uncheck1.png +0 -0
  106. package/aardio/extensions/wizard/project2/template/bat/bat/bat.aardio +33 -0
  107. package/aardio/extensions/wizard/project2/template/bat/bat/bat2.aardio +17 -0
  108. package/aardio/extensions/wizard/project2/template/bat/default.aproj +9 -0
  109. package/aardio/extensions/wizard/project2/template/bat/lib/config.aardio +17 -0
  110. package/aardio/extensions/wizard/project2/template/bat/lib/style.aardio +72 -0
  111. package/aardio/extensions/wizard/project2/template/bat/main.aardio +52 -0
  112. package/aardio/extensions/wizard/project2/template/console/default.aproj +5 -0
  113. package/aardio/extensions/wizard/project2/template/console/lib/config.aardio +17 -0
  114. package/aardio/extensions/wizard/project2/template/console/main.aardio +23 -0
  115. package/aardio/extensions/wizard/project2/template/fastcgi/.build/default.Manifest.xml +60 -0
  116. package/aardio/extensions/wizard/project2/template/fastcgi/.build/default.init.aardio +4 -0
  117. package/aardio/extensions/wizard/project2/template/fastcgi/.build/default.main.aardio +6 -0
  118. package/aardio/extensions/wizard/project2/template/fastcgi/default.aproj +5 -0
  119. package/aardio/extensions/wizard/project2/template/fastcgi/lib/config.aardio +17 -0
  120. package/aardio/extensions/wizard/project2/template/fastcgi/main.aardio +77 -0
  121. package/aardio/extensions/wizard/project2/template/java/default/default.aproj +14 -0
  122. package/aardio/extensions/wizard/project2/template/java/default/java/aardio/sample/HelloworldApp.class +0 -0
  123. package/aardio/extensions/wizard/project2/template/java/default/java/aardio/sample/HelloworldApp.java +33 -0
  124. package/aardio/extensions/wizard/project2/template/java/default/lib/config.aardio +17 -0
  125. package/aardio/extensions/wizard/project2/template/java/default/main.aardio +33 -0
  126. package/aardio/extensions/wizard/project2/template/java/default/res/py.aardio +12 -0
  127. package/aardio/extensions/wizard/project2/template/paint/default.aproj +6 -0
  128. package/aardio/extensions/wizard/project2/template/paint/lib/config.aardio +17 -0
  129. package/aardio/extensions/wizard/project2/template/paint/lib/fonts/.res/painttest.ttf +0 -0
  130. package/aardio/extensions/wizard/project2/template/paint/lib/fonts/painttest.aardio +10 -0
  131. package/aardio/extensions/wizard/project2/template/paint/lib/style.aardio +46 -0
  132. package/aardio/extensions/wizard/project2/template/paint/main.aardio +125 -0
  133. package/aardio/extensions/wizard/project2/template/plus/1/default.aproj +20 -0
  134. package/aardio/extensions/wizard/project2/template/plus/1/forms/page1.aardio +89 -0
  135. package/aardio/extensions/wizard/project2/template/plus/1/forms/page2.aardio +70 -0
  136. package/aardio/extensions/wizard/project2/template/plus/1/forms/page3.aardio +21 -0
  137. package/aardio/extensions/wizard/project2/template/plus/1/include/images/bg.gif +0 -0
  138. package/aardio/extensions/wizard/project2/template/plus/1/include//350/257/264/346/230/216.txt +1 -0
  139. package/aardio/extensions/wizard/project2/template/plus/1/main.aardio +69 -0
  140. package/aardio/extensions/wizard/project2/template/plus/1/res/images/bg.png +0 -0
  141. package/aardio/extensions/wizard/project2/template/plus/1/res/images/excel.png +0 -0
  142. package/aardio/extensions/wizard/project2/template/plus/1/res/images/feed.png +0 -0
  143. package/aardio/extensions/wizard/project2/template/plus/1/res/images/main-nav-bg-active.png +0 -0
  144. package/aardio/extensions/wizard/project2/template/plus/1/res/images/main-nav-bg-hover.png +0 -0
  145. package/aardio/extensions/wizard/project2/template/plus/1/res/images/main-nav-bg.png +0 -0
  146. package/aardio/extensions/wizard/project2/template/plus/1/res/images/ppt.png +0 -0
  147. package/aardio/extensions/wizard/project2/template/plus/1/res/images/rss.png +0 -0
  148. package/aardio/extensions/wizard/project2/template/plus/icon/default.aproj +12 -0
  149. package/aardio/extensions/wizard/project2/template/plus/icon/forms/main/frmPage1.aardio +11 -0
  150. package/aardio/extensions/wizard/project2/template/plus/icon/forms/main/frmPage2.aardio +9 -0
  151. package/aardio/extensions/wizard/project2/template/plus/icon/forms/main/frmPage3.aardio +9 -0
  152. package/aardio/extensions/wizard/project2/template/plus/icon/lib/config.aardio +17 -0
  153. package/aardio/extensions/wizard/project2/template/plus/icon/main.aardio +52 -0
  154. package/aardio/extensions/wizard/project2/template/plus/tabs/default.aproj +11 -0
  155. package/aardio/extensions/wizard/project2/template/plus/tabs/dlg/first.aardio +20 -0
  156. package/aardio/extensions/wizard/project2/template/plus/tabs/dlg/help.aardio +25 -0
  157. package/aardio/extensions/wizard/project2/template/plus/tabs/dlg/hotkey.aardio +20 -0
  158. package/aardio/extensions/wizard/project2/template/plus/tabs/dlg/setting.aardio +20 -0
  159. package/aardio/extensions/wizard/project2/template/plus/tabs/lib/config.aardio +17 -0
  160. package/aardio/extensions/wizard/project2/template/plus/tabs/lib/style.aardio +72 -0
  161. package/aardio/extensions/wizard/project2/template/plus/tabs/main.aardio +50 -0
  162. package/aardio/extensions/wizard/project2/template/python/process/default.aproj +14 -0
  163. package/aardio/extensions/wizard/project2/template/python/process/lib/config.aardio +17 -0
  164. package/aardio/extensions/wizard/project2/template/python/process/lib/py3/export/aardio.aardio +17 -0
  165. package/aardio/extensions/wizard/project2/template/python/process/main.aardio +36 -0
  166. package/aardio/extensions/wizard/project2/template/python/process/py/pyMain.py +17 -0
  167. package/aardio/extensions/wizard/project2/template/python/process/res/py.aardio +12 -0
  168. package/aardio/extensions/wizard/project2/template/python/process/tools/pip.aardio +15 -0
  169. package/aardio/extensions/wizard/project2/template/python/py2/default.aproj +9 -0
  170. package/aardio/extensions/wizard/project2/template/python/py2/lib/config.aardio +17 -0
  171. package/aardio/extensions/wizard/project2/template/python/py2/lib/py2/export/aardio.aardio +16 -0
  172. package/aardio/extensions/wizard/project2/template/python/py2/main.aardio +19 -0
  173. package/aardio/extensions/wizard/project2/template/python/py2/py/pyMain.py +14 -0
  174. package/aardio/extensions/wizard/project2/template/python/py3/default.aproj +12 -0
  175. package/aardio/extensions/wizard/project2/template/python/py3/lib/config.aardio +17 -0
  176. package/aardio/extensions/wizard/project2/template/python/py3/lib/py3/export/aardio.aardio +17 -0
  177. package/aardio/extensions/wizard/project2/template/python/py3/main.aardio +20 -0
  178. package/aardio/extensions/wizard/project2/template/python/py3/py/pyMain.py +15 -0
  179. package/aardio/extensions/wizard/project2/template/python/py3/tools/pip.aardio +28 -0
  180. package/aardio/extensions/wizard/project2/template/service/.build/default.init.aardio +4 -0
  181. package/aardio/extensions/wizard/project2/template/service/default.aproj +5 -0
  182. package/aardio/extensions/wizard/project2/template/service/lib/config.aardio +17 -0
  183. package/aardio/extensions/wizard/project2/template/service/lib/service/threads/_.aardio +35 -0
  184. package/aardio/extensions/wizard/project2/template/service/main.aardio +68 -0
  185. package/aardio/extensions/wizard/project2/template/web/chrome-app/default.aproj +10 -0
  186. package/aardio/extensions/wizard/project2/template/web/chrome-app/lib/config.aardio +17 -0
  187. package/aardio/extensions/wizard/project2/template/web/chrome-app/main.aardio +22 -0
  188. package/aardio/extensions/wizard/project2/template/web/chrome-app/web/index.html +15 -0
  189. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/.yarnrc +1 -0
  190. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/package.json +45 -0
  191. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/public/favicon.ico +0 -0
  192. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/public/index.html +33 -0
  193. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/App.css +20 -0
  194. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/App.test.tsx +9 -0
  195. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/App.tsx +37 -0
  196. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/Counter.tsx +40 -0
  197. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/index.css +11 -0
  198. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/index.tsx +26 -0
  199. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/react-app-env.d.ts +1 -0
  200. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/reportWebVitals.ts +15 -0
  201. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/setupTests.ts +5 -0
  202. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/store/index.ts +11 -0
  203. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/store/useCounterController.ts +39 -0
  204. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/src/store/useUserController.ts +24 -0
  205. package/aardio/extensions/wizard/project2/template/web/chrome-app/web.src/tsconfig.json +26 -0
  206. package/aardio/extensions/wizard/project2/template/web/chrome-htmx/default.aproj +16 -0
  207. package/aardio/extensions/wizard/project2/template/web/chrome-htmx/lib/config.aardio +17 -0
  208. package/aardio/extensions/wizard/project2/template/web/chrome-htmx/main.aardio +12 -0
  209. package/aardio/extensions/wizard/project2/template/web/chrome-htmx/web/api/index.aardio +20 -0
  210. package/aardio/extensions/wizard/project2/template/web/chrome-htmx/web/htmx.js +1 -0
  211. package/aardio/extensions/wizard/project2/template/web/chrome-htmx/web/images/loading.gif +0 -0
  212. package/aardio/extensions/wizard/project2/template/web/chrome-htmx/web/index.css +34 -0
  213. package/aardio/extensions/wizard/project2/template/web/chrome-htmx/web/index.html +65 -0
  214. package/aardio/extensions/wizard/project2/template/web/chrome-vue/default.aproj +10 -0
  215. package/aardio/extensions/wizard/project2/template/web/chrome-vue/lib/config.aardio +17 -0
  216. package/aardio/extensions/wizard/project2/template/web/chrome-vue/main.aardio +21 -0
  217. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web/index.html +15 -0
  218. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/.vscode/extensions.json +3 -0
  219. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/README.md +40 -0
  220. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/env.d.ts +1 -0
  221. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/index.html +13 -0
  222. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/package.json +25 -0
  223. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/public/favicon.ico +0 -0
  224. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/App.vue +58 -0
  225. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/assets/base.css +74 -0
  226. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/assets/logo.svg +1 -0
  227. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/assets/main.css +35 -0
  228. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/components/HelloWorld.vue +40 -0
  229. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/components/TheWelcome.vue +86 -0
  230. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/components/WelcomeItem.vue +86 -0
  231. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/components/icons/IconCommunity.vue +7 -0
  232. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/components/icons/IconDocumentation.vue +7 -0
  233. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/components/icons/IconEcosystem.vue +7 -0
  234. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/components/icons/IconSupport.vue +7 -0
  235. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/components/icons/IconTooling.vue +19 -0
  236. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/src/main.ts +6 -0
  237. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/tsconfig.config.json +8 -0
  238. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/tsconfig.json +16 -0
  239. package/aardio/extensions/wizard/project2/template/web/chrome-vue/web.src/vite.config.ts +20 -0
  240. package/aardio/extensions/wizard/project2/template/web/electron/default.aproj +8 -0
  241. package/aardio/extensions/wizard/project2/template/web/electron/electron.app/.aardio-ignore +6 -0
  242. package/aardio/extensions/wizard/project2/template/web/electron/electron.app/.yarnrc +1 -0
  243. package/aardio/extensions/wizard/project2/template/web/electron/electron.app/app.ico +0 -0
  244. package/aardio/extensions/wizard/project2/template/web/electron/forms/remoteDebugging.aardio +122 -0
  245. package/aardio/extensions/wizard/project2/template/web/electron/lib/config.aardio +22 -0
  246. package/aardio/extensions/wizard/project2/template/web/electron/main.aardio +80 -0
  247. package/aardio/extensions/wizard/project2/template/web/electron/res/.vscode/settings.json +3 -0
  248. package/aardio/extensions/wizard/project2/template/web/electron/res/index.aardio +78 -0
  249. package/aardio/extensions/wizard/project2/template/web/layoutUi/default.aproj +20 -0
  250. package/aardio/extensions/wizard/project2/template/web/layoutUi/layout/images/begin.png +0 -0
  251. package/aardio/extensions/wizard/project2/template/web/layoutUi/layout/images/document.png +0 -0
  252. package/aardio/extensions/wizard/project2/template/web/layoutUi/layout/images/download.png +0 -0
  253. package/aardio/extensions/wizard/project2/template/web/layoutUi/layout/images/home.png +0 -0
  254. package/aardio/extensions/wizard/project2/template/web/layoutUi/layout/images/logo.png +0 -0
  255. package/aardio/extensions/wizard/project2/template/web/layoutUi/layout/tabs.css +123 -0
  256. package/aardio/extensions/wizard/project2/template/web/layoutUi/layout/ui.css +67 -0
  257. package/aardio/extensions/wizard/project2/template/web/layoutUi/layout/ui.html +49 -0
  258. package/aardio/extensions/wizard/project2/template/web/layoutUi/main.aardio +26 -0
  259. package/aardio/extensions/wizard/project2/template/web/sciter/default.aproj +21 -0
  260. package/aardio/extensions/wizard/project2/template/web/sciter/layout/hooks.js +2 -0
  261. package/aardio/extensions/wizard/project2/template/web/sciter/layout/images/begin.png +0 -0
  262. package/aardio/extensions/wizard/project2/template/web/sciter/layout/images/document.png +0 -0
  263. package/aardio/extensions/wizard/project2/template/web/sciter/layout/images/download.png +0 -0
  264. package/aardio/extensions/wizard/project2/template/web/sciter/layout/images/home.png +0 -0
  265. package/aardio/extensions/wizard/project2/template/web/sciter/layout/images/logo.png +0 -0
  266. package/aardio/extensions/wizard/project2/template/web/sciter/layout/preact.js +2 -0
  267. package/aardio/extensions/wizard/project2/template/web/sciter/layout/tabs.css +123 -0
  268. package/aardio/extensions/wizard/project2/template/web/sciter/layout/ui.css +67 -0
  269. package/aardio/extensions/wizard/project2/template/web/sciter/layout/ui.html +100 -0
  270. package/aardio/extensions/wizard/project2/template/web/sciter/main.aardio +31 -0
  271. package/aardio/extensions/wizard/project2/template/web/view/default.aproj +10 -0
  272. package/aardio/extensions/wizard/project2/template/web/view/lib/config.aardio +17 -0
  273. package/aardio/extensions/wizard/project2/template/web/view/main.aardio +30 -0
  274. package/aardio/extensions/wizard/project2/template/web/view/web/index.html +15 -0
  275. package/aardio/extensions/wizard/project2/template/web/view/web.src/.yarnrc +1 -0
  276. package/aardio/extensions/wizard/project2/template/web/view/web.src/package.json +44 -0
  277. package/aardio/extensions/wizard/project2/template/web/view/web.src/public/favicon.ico +0 -0
  278. package/aardio/extensions/wizard/project2/template/web/view/web.src/public/index.html +33 -0
  279. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/App.css +20 -0
  280. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/App.test.tsx +9 -0
  281. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/App.tsx +37 -0
  282. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/Counter.tsx +39 -0
  283. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/aardio/index.d.ts +7 -0
  284. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/index.css +9 -0
  285. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/index.tsx +26 -0
  286. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/react-app-env.d.ts +1 -0
  287. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/reportWebVitals.ts +15 -0
  288. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/setupTests.ts +5 -0
  289. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/store/index.ts +11 -0
  290. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/store/useCounterController.ts +39 -0
  291. package/aardio/extensions/wizard/project2/template/web/view/web.src/src/store/useUserController.ts +24 -0
  292. package/aardio/extensions/wizard/project2/template/web/view/web.src/tsconfig.json +26 -0
  293. package/aardio/extensions/wizard/project2/template/web/view-htmx/default.aproj +16 -0
  294. package/aardio/extensions/wizard/project2/template/web/view-htmx/lib/config.aardio +17 -0
  295. package/aardio/extensions/wizard/project2/template/web/view-htmx/main.aardio +21 -0
  296. package/aardio/extensions/wizard/project2/template/web/view-htmx/web/api/index.aardio +20 -0
  297. package/aardio/extensions/wizard/project2/template/web/view-htmx/web/htmx.js +1 -0
  298. package/aardio/extensions/wizard/project2/template/web/view-htmx/web/images/loading.gif +0 -0
  299. package/aardio/extensions/wizard/project2/template/web/view-htmx/web/index.css +34 -0
  300. package/aardio/extensions/wizard/project2/template/web/view-htmx/web/index.html +64 -0
  301. package/aardio/extensions/wizard/project2/template/web/view-vue/.build/default.Manifest.xml +60 -0
  302. package/aardio/extensions/wizard/project2/template/web/view-vue/.build/default.init.aardio +2 -0
  303. package/aardio/extensions/wizard/project2/template/web/view-vue/.build/default.main.aardio +6 -0
  304. package/aardio/extensions/wizard/project2/template/web/view-vue/default.aproj +10 -0
  305. package/aardio/extensions/wizard/project2/template/web/view-vue/lib/config.aardio +17 -0
  306. package/aardio/extensions/wizard/project2/template/web/view-vue/main.aardio +29 -0
  307. package/aardio/extensions/wizard/project2/template/web/view-vue/web/index.html +15 -0
  308. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/.vscode/extensions.json +3 -0
  309. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/README.md +40 -0
  310. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/aardio/index.d.ts +7 -0
  311. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/env.d.ts +1 -0
  312. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/index.html +13 -0
  313. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/package.json +24 -0
  314. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/public/favicon.ico +0 -0
  315. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/App.vue +57 -0
  316. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/assets/base.css +74 -0
  317. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/assets/logo.svg +1 -0
  318. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/assets/main.css +35 -0
  319. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/components/HelloWorld.vue +40 -0
  320. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/components/TheWelcome.vue +86 -0
  321. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/components/WelcomeItem.vue +86 -0
  322. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/components/icons/IconCommunity.vue +7 -0
  323. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/components/icons/IconDocumentation.vue +7 -0
  324. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/components/icons/IconEcosystem.vue +7 -0
  325. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/components/icons/IconSupport.vue +7 -0
  326. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/components/icons/IconTooling.vue +19 -0
  327. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/src/main.ts +6 -0
  328. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/tsconfig.config.json +8 -0
  329. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/tsconfig.json +16 -0
  330. package/aardio/extensions/wizard/project2/template/web/view-vue/web.src/vite.config.ts +20 -0
  331. package/aardio/extensions/wizard/project2/template/web/webform/default.aproj +19 -0
  332. package/aardio/extensions/wizard/project2/template/web/webform/forms/main/frmPage2.aardio +9 -0
  333. package/aardio/extensions/wizard/project2/template/web/webform/forms/main/frmPage3.aardio +9 -0
  334. package/aardio/extensions/wizard/project2/template/web/webform/forms/main/webPage.aardio +32 -0
  335. package/aardio/extensions/wizard/project2/template/web/webform/lib/config.aardio +17 -0
  336. package/aardio/extensions/wizard/project2/template/web/webform/main.aardio +52 -0
  337. package/aardio/extensions/wizard/project2/template/web/webform/web/api/index.aardio +21 -0
  338. package/aardio/extensions/wizard/project2/template/web/webform/web/htmx.js +1 -0
  339. package/aardio/extensions/wizard/project2/template/web/webform/web/images/loading.gif +0 -0
  340. package/aardio/extensions/wizard/project2/template/web/webform/web/index.css +34 -0
  341. package/aardio/extensions/wizard/project2/template/web/webform/web/index.html +65 -0
  342. package/aardio/extensions/wizard/project2/template/web/webkit/default.aproj +16 -0
  343. package/aardio/extensions/wizard/project2/template/web/webkit/forms/main/frmPage2.aardio +9 -0
  344. package/aardio/extensions/wizard/project2/template/web/webkit/forms/main/frmPage3.aardio +9 -0
  345. package/aardio/extensions/wizard/project2/template/web/webkit/forms/main/webPage.aardio +28 -0
  346. package/aardio/extensions/wizard/project2/template/web/webkit/lib/config.aardio +17 -0
  347. package/aardio/extensions/wizard/project2/template/web/webkit/main.aardio +52 -0
  348. package/aardio/extensions/wizard/project2/template/web/webkit/web/index.html +11 -0
  349. package/aardio/extensions/wizard/project2/template/web/webkit/web/index.js +173 -0
  350. package/aardio/extensions/wizard/project2/template/web/webkit/web.src/.babelrc +20 -0
  351. package/aardio/extensions/wizard/project2/template/web/webkit/web.src/package.json +25 -0
  352. package/aardio/extensions/wizard/project2/template/web/webkit/web.src/src/App.css +27 -0
  353. package/aardio/extensions/wizard/project2/template/web/webkit/web.src/src/App.jsx +49 -0
  354. package/aardio/extensions/wizard/project2/template/web/webkit/web.src/src/index.js +7 -0
  355. package/aardio/extensions/wizard/project2/template/web/webkit/web.src/webpack.config.js +43 -0
  356. package/aardio/extensions/wizard/project2/template/web-server/default.aproj +18 -0
  357. package/aardio/extensions/wizard/project2/template/web-server/lib/config.aardio +17 -0
  358. package/aardio/extensions/wizard/project2/template/web-server/main.aardio +343 -0
  359. package/aardio/extensions/wizard/project2/template/website/.build/default.main.aardio +9 -0
  360. package/aardio/extensions/wizard/project2/template/website/default.aproj +8 -0
  361. package/aardio/extensions/wizard/project2/template/website/help/main.aardio +58 -0
  362. package/aardio/extensions/wizard/project2/template/website/lib/config.aardio +17 -0
  363. package/aardio/extensions/wizard/project2/template/website/main.aardio +59 -0
  364. package/aardio/extensions/wizard/project2/template/winform/default.aproj +18 -0
  365. package/aardio/extensions/wizard/project2/template/winform/dlg/login/loading.aardio +17 -0
  366. package/aardio/extensions/wizard/project2/template/winform/dlg/login/login.aardio +51 -0
  367. package/aardio/extensions/wizard/project2/template/winform/dlg/login/reg.aardio +20 -0
  368. package/aardio/extensions/wizard/project2/template/winform/dlg/main/tabs1.aardio +52 -0
  369. package/aardio/extensions/wizard/project2/template/winform/dlg/main/tabs2.aardio +51 -0
  370. package/aardio/extensions/wizard/project2/template/winform/dlg/main/tabs3.aardio +55 -0
  371. package/aardio/extensions/wizard/project2/template/winform/dlg/main/userInfo.aardio +40 -0
  372. package/aardio/extensions/wizard/project2/template/winform/lib/config.aardio +17 -0
  373. package/aardio/extensions/wizard/project2/template/winform/main.aardio +18 -0
  374. package/aardio/extensions/wizard/project2/template/winform-blank/default.aproj +6 -0
  375. package/aardio/extensions/wizard/project2/template/winform-blank/lib/config.aardio +17 -0
  376. package/aardio/extensions/wizard/project2/template/winform-blank/main.aardio +8 -0
  377. package/aardio/extensions/wizard/project2//345/267/245/347/250/213/345/220/221/345/257/274.aproj +71 -0
  378. package/aardio/lib/System/Array.aardio +7 -0
  379. package/aardio/lib/System/Collections/_.aardio +6 -0
  380. package/aardio/lib/System/Console.aardio +7 -0
  381. package/aardio/lib/System/Data/_.aardio +7 -0
  382. package/aardio/lib/System/Delegate.aardio +7 -0
  383. package/aardio/lib/System/Drawing/_.aardio +6 -0
  384. package/aardio/lib/System/IO/Compression/ZipFile.aardio +11 -0
  385. package/aardio/lib/System/IO/_.aardio +6 -0
  386. package/aardio/lib/System/Text/_.aardio +6 -0
  387. package/aardio/lib/System/Type.aardio +9 -0
  388. package/aardio/lib/System/ValueTuple.aardio +33 -0
  389. package/aardio/lib/System/Windows/Automation/_.aardio +74 -0
  390. package/aardio/lib/System/Windows/Forms/_.aardio +26 -0
  391. package/aardio/lib/System/Windows/_.aardio +6 -0
  392. package/aardio/lib/System/_.aardio +6 -0
  393. package/aardio/lib/access/_.aardio +713 -0
  394. package/aardio/lib/access/oleDb12.aardio +26 -0
  395. package/aardio/lib/access/query.aardio +19 -0
  396. package/aardio/lib/bencoding/_.aardio +2 -0
  397. package/aardio/lib/bencoding/decoder.aardio +131 -0
  398. package/aardio/lib/bencoding/encoder.aardio +61 -0
  399. package/aardio/lib/bencoding/magnet.aardio +24 -0
  400. package/aardio/lib/chrome/app.aardio +581 -0
  401. package/aardio/lib/chrome/dev.aardio +152 -0
  402. package/aardio/lib/chrome/driver.aardio +743 -0
  403. package/aardio/lib/chrome/edge.aardio +35 -0
  404. package/aardio/lib/chrome/edge.history.aardio +57 -0
  405. package/aardio/lib/chrome/extensions.aardio +33 -0
  406. package/aardio/lib/chrome/history.aardio +70 -0
  407. package/aardio/lib/chrome/path.aardio +140 -0
  408. package/aardio/lib/chrome/remote.aardio +75 -0
  409. package/aardio/lib/chrome/time.aardio +17 -0
  410. package/aardio/lib/color/_.aardio +210 -0
  411. package/aardio/lib/color/table.aardio +374 -0
  412. package/aardio/lib/color/view.aardio +244 -0
  413. package/aardio/lib/color/viewForm.aardio +342 -0
  414. package/aardio/lib/com/activeX.aardio +275 -0
  415. package/aardio/lib/com/cad/_.aardio +403 -0
  416. package/aardio/lib/com/excel.aardio +180 -0
  417. package/aardio/lib/com/interface/IApplicationActivationManager.aardio +31 -0
  418. package/aardio/lib/com/interface/IApplicationAssociationRegistration.aardio +359 -0
  419. package/aardio/lib/com/interface/IAudioMeterInformation.aardio +17 -0
  420. package/aardio/lib/com/interface/IClassFactory.aardio +26 -0
  421. package/aardio/lib/com/interface/IClassFactory2.aardio +47 -0
  422. package/aardio/lib/com/interface/IComThreadingInfo.aardio +37 -0
  423. package/aardio/lib/com/interface/IDirect3D9.aardio +188 -0
  424. package/aardio/lib/com/interface/IEnumCodePage.aardio +14 -0
  425. package/aardio/lib/com/interface/IEnumGUID.aardio +26 -0
  426. package/aardio/lib/com/interface/IEnumShellItems.aardio +29 -0
  427. package/aardio/lib/com/interface/IFileDialog.aardio +101 -0
  428. package/aardio/lib/com/interface/IFileOpenDialog.aardio +97 -0
  429. package/aardio/lib/com/interface/IFileSaveDialog.aardio +22 -0
  430. package/aardio/lib/com/interface/IKsPropertySet.aardio +17 -0
  431. package/aardio/lib/com/interface/IModalWindow.aardio +13 -0
  432. package/aardio/lib/com/interface/IMultiLanguage2.aardio +285 -0
  433. package/aardio/lib/com/interface/IOleControl.aardio +41 -0
  434. package/aardio/lib/com/interface/IOleWindow.aardio +29 -0
  435. package/aardio/lib/com/interface/IPersist.aardio +12 -0
  436. package/aardio/lib/com/interface/IPersistFile.aardio +18 -0
  437. package/aardio/lib/com/interface/IPersistStreamInit.aardio +56 -0
  438. package/aardio/lib/com/interface/IPicture.aardio +187 -0
  439. package/aardio/lib/com/interface/IServiceProvider.aardio +16 -0
  440. package/aardio/lib/com/interface/IShellItem.aardio +48 -0
  441. package/aardio/lib/com/interface/IShellItemArray.aardio +20 -0
  442. package/aardio/lib/com/interface/IShellLink.aardio +35 -0
  443. package/aardio/lib/com/interface/IStream.aardio +26 -0
  444. package/aardio/lib/com/interface/ITaskbarList3.aardio +62 -0
  445. package/aardio/lib/com/interface/ITfInputProcessorProfileMgr.aardio +75 -0
  446. package/aardio/lib/com/interface/ITfInputProcessorProfiles.aardio +125 -0
  447. package/aardio/lib/com/interface/IUniformResourceLocator.aardio +18 -0
  448. package/aardio/lib/com/interface/IViewObject2.aardio +38 -0
  449. package/aardio/lib/com/interface/_.aardio +231 -0
  450. package/aardio/lib/com/lite.aardio +183 -0
  451. package/aardio/lib/com/oleDb.aardio +57 -0
  452. package/aardio/lib/com/picture.aardio +235 -0
  453. package/aardio/lib/com/sapi/voice.aardio +178 -0
  454. package/aardio/lib/com/shell.aardio +69 -0
  455. package/aardio/lib/com/smtp.aardio +286 -0
  456. package/aardio/lib/com/tlbDoc.aardio +145 -0
  457. package/aardio/lib/com/typeAttrs.aardio +35 -0
  458. package/aardio/lib/com/wmi.aardio +208 -0
  459. package/aardio/lib/console/_.aardio +917 -0
  460. package/aardio/lib/console/int.aardio +55 -0
  461. package/aardio/lib/console/progress.aardio +141 -0
  462. package/aardio/lib/console/wine.aardio +393 -0
  463. package/aardio/lib/coroutine/_.aardio +46 -0
  464. package/aardio/lib/crypt/_.aardio +919 -0
  465. package/aardio/lib/crypt/aes.aardio +58 -0
  466. package/aardio/lib/crypt/bin.aardio +68 -0
  467. package/aardio/lib/crypt/des.aardio +55 -0
  468. package/aardio/lib/crypt/hash.aardio +110 -0
  469. package/aardio/lib/crypt/hmac.aardio +64 -0
  470. package/aardio/lib/crypt/jwt.aardio +78 -0
  471. package/aardio/lib/crypt/protectData.aardio +51 -0
  472. package/aardio/lib/crypt/provParam.aardio +32 -0
  473. package/aardio/lib/crypt/rc4.aardio +32 -0
  474. package/aardio/lib/crypt/rsa.aardio +244 -0
  475. package/aardio/lib/debug/_.aardio +172 -0
  476. package/aardio/lib/debug/log.aardio +144 -0
  477. package/aardio/lib/dotNet/.res/Aardio.InteropServices/CCodeCompiler.cs +202 -0
  478. package/aardio/lib/dotNet/.res/Aardio.InteropServices/DispatchableDelegate.cs +362 -0
  479. package/aardio/lib/dotNet/.res/Aardio.InteropServices/Utility.cs +1469 -0
  480. package/aardio/lib/dotNet/.res/Aardio.InteropServices.csproj +51 -0
  481. package/aardio/lib/dotNet/.res/Aardio.PS/Aardio.PS.DynObject.cs +194 -0
  482. package/aardio/lib/dotNet/.res/Aardio.PS/Aardio.PS.cs +446 -0
  483. package/aardio/lib/dotNet/.res/Properties/AssemblyInfo.cs +20 -0
  484. package/aardio/lib/dotNet/.res/bin/Release/Aardio.InteropServices.dll +0 -0
  485. package/aardio/lib/dotNet/_.aardio +258 -0
  486. package/aardio/lib/dotNet/appDomain.aardio +967 -0
  487. package/aardio/lib/dotNet/audio/.res/Audio.dll +0 -0
  488. package/aardio/lib/dotNet/audio/.res/NAudio.dll +0 -0
  489. package/aardio/lib/dotNet/audio/.res/build.aardio +206 -0
  490. package/aardio/lib/dotNet/audio/_.aardio +94 -0
  491. package/aardio/lib/dotNet/clr.aardio +210 -0
  492. package/aardio/lib/dotNet/interface/IAppDomainSetup.aardio +31 -0
  493. package/aardio/lib/dotNet/interface/ICLRMetaHost.aardio +17 -0
  494. package/aardio/lib/dotNet/interface/ICLRRuntimeHost.aardio +35 -0
  495. package/aardio/lib/dotNet/interface/ICLRRuntimeInfo.aardio +23 -0
  496. package/aardio/lib/dotNet/interface/ICorRuntimeHost.aardio +30 -0
  497. package/aardio/lib/dotNet/nuget.aardio +67 -0
  498. package/aardio/lib/dotNet/ocr/.res/ocr.dll +0 -0
  499. package/aardio/lib/dotNet/ocr/_.aardio +275 -0
  500. package/aardio/lib/dotNet/ps.aardio +177 -0
  501. package/aardio/lib/dotNet/uwpCompiler.aardio +61 -0
  502. package/aardio/lib/dotNet/v2.aardio +19 -0
  503. package/aardio/lib/dotNet/v4.aardio +57 -0
  504. package/aardio/lib/dotNet/version.aardio +74 -0
  505. package/aardio/lib/electron/app/.build/aardio/index.d.ts +173 -0
  506. package/aardio/lib/electron/app/.build/aardio/index.js +636 -0
  507. package/aardio/lib/electron/app/.build/main.aardio +298 -0
  508. package/aardio/lib/electron/app/.build/ws.asar +0 -0
  509. package/aardio/lib/electron/app/_.aardio +731 -0
  510. package/aardio/lib/electron/runtime/_.aardio +50 -0
  511. package/aardio/lib/fastcgi/_.aardio +2 -0
  512. package/aardio/lib/fastcgi/client/_.aardio +807 -0
  513. package/aardio/lib/fastcgi/iisInstall.aardio +124 -0
  514. package/aardio/lib/fastcgi/nameValuePairs.aardio +93 -0
  515. package/aardio/lib/fastcgi/stream.aardio +100 -0
  516. package/aardio/lib/fonts/.res/FontAwesome.ttf +0 -0
  517. package/aardio/lib/fonts/.res/FontAwesomeDlg.ttf +0 -0
  518. package/aardio/lib/fonts/_.aardio +71 -0
  519. package/aardio/lib/fonts/fontAwesome.aardio +14 -0
  520. package/aardio/lib/fonts/fontAwesomeDlg.aardio +10 -0
  521. package/aardio/lib/fonts/httpFamily.aardio +21 -0
  522. package/aardio/lib/fsys/_.aardio +538 -0
  523. package/aardio/lib/fsys/acl.aardio +116 -0
  524. package/aardio/lib/fsys/asar/reader.aardio +346 -0
  525. package/aardio/lib/fsys/asar/writer.aardio +241 -0
  526. package/aardio/lib/fsys/batch.aardio +99 -0
  527. package/aardio/lib/fsys/cab/_.aardio +123 -0
  528. package/aardio/lib/fsys/cab/maker.aardio +105 -0
  529. package/aardio/lib/fsys/codepage.aardio +141 -0
  530. package/aardio/lib/fsys/config.aardio +69 -0
  531. package/aardio/lib/fsys/cookies.aardio +214 -0
  532. package/aardio/lib/fsys/dirWatcher.aardio +135 -0
  533. package/aardio/lib/fsys/dlg.aardio +214 -0
  534. package/aardio/lib/fsys/dlg.dir.aardio +24 -0
  535. package/aardio/lib/fsys/drives.aardio +58 -0
  536. package/aardio/lib/fsys/environment.aardio +58 -0
  537. package/aardio/lib/fsys/file.aardio +490 -0
  538. package/aardio/lib/fsys/fileInfo.aardio +68 -0
  539. package/aardio/lib/fsys/hardlink.aardio +26 -0
  540. package/aardio/lib/fsys/hosts.aardio +80 -0
  541. package/aardio/lib/fsys/info.aardio +40 -0
  542. package/aardio/lib/fsys/ini.aardio +176 -0
  543. package/aardio/lib/fsys/knownFolder.aardio +30 -0
  544. package/aardio/lib/fsys/lnk.aardio +404 -0
  545. package/aardio/lib/fsys/localfile.aardio +77 -0
  546. package/aardio/lib/fsys/log.aardio +150 -0
  547. package/aardio/lib/fsys/media.aardio +199 -0
  548. package/aardio/lib/fsys/mime.aardio +115 -0
  549. package/aardio/lib/fsys/mmap/_.aardio +233 -0
  550. package/aardio/lib/fsys/multipartFormData.aardio +188 -0
  551. package/aardio/lib/fsys/namedPipe.aardio +95 -0
  552. package/aardio/lib/fsys/partFile.aardio +186 -0
  553. package/aardio/lib/fsys/path.aardio +179 -0
  554. package/aardio/lib/fsys/remove.aardio +31 -0
  555. package/aardio/lib/fsys/res.aardio +149 -0
  556. package/aardio/lib/fsys/safepath.aardio +36 -0
  557. package/aardio/lib/fsys/shortcut.aardio +55 -0
  558. package/aardio/lib/fsys/size.aardio +39 -0
  559. package/aardio/lib/fsys/stream.aardio +276 -0
  560. package/aardio/lib/fsys/streamInfo.aardio +47 -0
  561. package/aardio/lib/fsys/table.aardio +102 -0
  562. package/aardio/lib/fsys/tar.aardio +181 -0
  563. package/aardio/lib/fsys/time.aardio +149 -0
  564. package/aardio/lib/fsys/untar.aardio +190 -0
  565. package/aardio/lib/fsys/update/app.aardio +171 -0
  566. package/aardio/lib/fsys/update/dlMgr.aardio +402 -0
  567. package/aardio/lib/fsys/update/maker.aardio +168 -0
  568. package/aardio/lib/fsys/update/simpleMain.aardio +292 -0
  569. package/aardio/lib/fsys/url.aardio +71 -0
  570. package/aardio/lib/fsys/version.aardio +157 -0
  571. package/aardio/lib/fsys/watch.aardio +76 -0
  572. package/aardio/lib/fsys/wow64.aardio +43 -0
  573. package/aardio/lib/gdi/_.aardio +846 -0
  574. package/aardio/lib/gdip/.res/feather.dll +0 -0
  575. package/aardio/lib/gdip/.res//347/274/226/350/257/221.aardio +14 -0
  576. package/aardio/lib/gdip/_.aardio +1004 -0
  577. package/aardio/lib/gdip/bitmap.aardio +497 -0
  578. package/aardio/lib/gdip/core.aardio +137 -0
  579. package/aardio/lib/gdip/exifTags.aardio +192 -0
  580. package/aardio/lib/gdip/family.aardio +91 -0
  581. package/aardio/lib/gdip/feather.aardio +74 -0
  582. package/aardio/lib/gdip/font.aardio +130 -0
  583. package/aardio/lib/gdip/graphics.aardio +739 -0
  584. package/aardio/lib/gdip/image.aardio +610 -0
  585. package/aardio/lib/gdip/imageAttributes.aardio +143 -0
  586. package/aardio/lib/gdip/installedFontCollection.aardio +19 -0
  587. package/aardio/lib/gdip/lineBrush.aardio +114 -0
  588. package/aardio/lib/gdip/path.aardio +171 -0
  589. package/aardio/lib/gdip/pathGradientBrush.aardio +93 -0
  590. package/aardio/lib/gdip/pen.aardio +206 -0
  591. package/aardio/lib/gdip/privateFontCollection.aardio +178 -0
  592. package/aardio/lib/gdip/snap.aardio +99 -0
  593. package/aardio/lib/gdip/solidBrush.aardio +63 -0
  594. package/aardio/lib/gdip/stringformat.aardio +112 -0
  595. package/aardio/lib/gdip/textureBrush.aardio +93 -0
  596. package/aardio/lib/godking/elistbar/_.aardio +552 -0
  597. package/aardio/lib/godking/elistbar/elistbar.dll +0 -0
  598. package/aardio/lib/golang/.res/aardio/aardio.go +44 -0
  599. package/aardio/lib/golang/.res/aardio/jsonrpc/jsonrpc.go +27 -0
  600. package/aardio/lib/golang/.res/aardio/jsonrpc/tcp/tcp.go +28 -0
  601. package/aardio/lib/golang/_.aardio +234 -0
  602. package/aardio/lib/golang/string.aardio +22 -0
  603. package/aardio/lib/ide/command.aardio +226 -0
  604. package/aardio/lib/ide/customCtrl.aardio +9 -0
  605. package/aardio/lib/ide/debug.aardio +61 -0
  606. package/aardio/lib/ide/doc/_.aardio +361 -0
  607. package/aardio/lib/ide/doc/markdown.aardio +164 -0
  608. package/aardio/lib/inet/_.aardio +446 -0
  609. package/aardio/lib/inet/adapter.aardio +175 -0
  610. package/aardio/lib/inet/adapterInfo.aardio +180 -0
  611. package/aardio/lib/inet/conn.aardio +80 -0
  612. package/aardio/lib/inet/connView.aardio +22 -0
  613. package/aardio/lib/inet/downBox.aardio +247 -0
  614. package/aardio/lib/inet/errorMessage.aardio +106 -0
  615. package/aardio/lib/inet/file.aardio +62 -0
  616. package/aardio/lib/inet/ftp.aardio +315 -0
  617. package/aardio/lib/inet/http.aardio +885 -0
  618. package/aardio/lib/inet/httpFile.aardio +312 -0
  619. package/aardio/lib/inet/httpStatusCode.aardio +143 -0
  620. package/aardio/lib/inet/installer.aardio +76 -0
  621. package/aardio/lib/inet/mac.aardio +49 -0
  622. package/aardio/lib/inet/ras.aardio +433 -0
  623. package/aardio/lib/inet/stat.aardio +78 -0
  624. package/aardio/lib/inet/tls.aardio +28 -0
  625. package/aardio/lib/inet/url.aardio +334 -0
  626. package/aardio/lib/inet/urlpart.aardio +41 -0
  627. package/aardio/lib/inet/util.aardio +54 -0
  628. package/aardio/lib/inet/whttp.aardio +988 -0
  629. package/aardio/lib/java/.build/main.aardio +10 -0
  630. package/aardio/lib/java/.interopServices/build.aardio +372 -0
  631. package/aardio/lib/java/.interopServices/utility.class +0 -0
  632. package/aardio/lib/java/.interopServices/utility.java +354 -0
  633. package/aardio/lib/java/_.aardio +1006 -0
  634. package/aardio/lib/java/class.aardio +295 -0
  635. package/aardio/lib/java/jdk/v6ora.aardio +23 -0
  636. package/aardio/lib/java/jdk/v8.aardio +53 -0
  637. package/aardio/lib/java/jdk/v8ora.aardio +23 -0
  638. package/aardio/lib/java/jre/v8.aardio +53 -0
  639. package/aardio/lib/java/jre/v8ora.aardio +37 -0
  640. package/aardio/lib/java/object.aardio +218 -0
  641. package/aardio/lib/java/path.aardio +451 -0
  642. package/aardio/lib/key/VK.aardio +641 -0
  643. package/aardio/lib/key/_.aardio +303 -0
  644. package/aardio/lib/key/hook.aardio +76 -0
  645. package/aardio/lib/key/hotkey/_.aardio +540 -0
  646. package/aardio/lib/key/ime.aardio +221 -0
  647. package/aardio/lib/key/ime.stateBar.aardio +346 -0
  648. package/aardio/lib/mouse/_.aardio +359 -0
  649. package/aardio/lib/mouse/cursor.aardio +43 -0
  650. package/aardio/lib/mouse/draw.aardio +314 -0
  651. package/aardio/lib/mouse/highlighter.aardio +193 -0
  652. package/aardio/lib/mouse/hook.aardio +79 -0
  653. package/aardio/lib/mouse/screenArea.aardio +102 -0
  654. package/aardio/lib/nodeJs/_.aardio +593 -0
  655. package/aardio/lib/preload/_.aardio +253 -0
  656. package/aardio/lib/preload/com.aardio +319 -0
  657. package/aardio/lib/preload/io.aardio +107 -0
  658. package/aardio/lib/preload/math.aardio +91 -0
  659. package/aardio/lib/preload/raw.aardio +105 -0
  660. package/aardio/lib/preload/string.aardio +224 -0
  661. package/aardio/lib/preload/struct.aardio +194 -0
  662. package/aardio/lib/preload/table.aardio +388 -0
  663. package/aardio/lib/preload/thread.aardio +341 -0
  664. package/aardio/lib/process/_.aardio +1510 -0
  665. package/aardio/lib/process/admin.aardio +110 -0
  666. package/aardio/lib/process/apiHook/_.aardio +141 -0
  667. package/aardio/lib/process/atom.aardio +32 -0
  668. package/aardio/lib/process/batch.aardio +89 -0
  669. package/aardio/lib/process/cache.aardio +95 -0
  670. package/aardio/lib/process/chm.aardio +14 -0
  671. package/aardio/lib/process/cmdline.aardio +42 -0
  672. package/aardio/lib/process/code.aardio +128 -0
  673. package/aardio/lib/process/command.aardio +226 -0
  674. package/aardio/lib/process/control.aardio +29 -0
  675. package/aardio/lib/process/curl/_.aardio +91 -0
  676. package/aardio/lib/process/ffmpeg.aardio +63 -0
  677. package/aardio/lib/process/file.aardio +118 -0
  678. package/aardio/lib/process/gcc/_.aardio +236 -0
  679. package/aardio/lib/process/gfortran/_.aardio +71 -0
  680. package/aardio/lib/process/heap.aardio +59 -0
  681. package/aardio/lib/process/imageView.aardio +13 -0
  682. package/aardio/lib/process/job/limitKill.aardio +107 -0
  683. package/aardio/lib/process/mutex.aardio +105 -0
  684. package/aardio/lib/process/php/5.2.aardio +7 -0
  685. package/aardio/lib/process/php/5.6.aardio +10 -0
  686. package/aardio/lib/process/php/_.aardio +119 -0
  687. package/aardio/lib/process/php/cgi.aardio +82 -0
  688. package/aardio/lib/process/popen.aardio +562 -0
  689. package/aardio/lib/process/python/.py/jsonrpyc.py +405 -0
  690. package/aardio/lib/process/python/_.aardio +380 -0
  691. package/aardio/lib/process/python/pip.aardio +143 -0
  692. package/aardio/lib/process/rpc/jsonClient.aardio +285 -0
  693. package/aardio/lib/process/rpc/jsonServer.aardio +293 -0
  694. package/aardio/lib/process/rpc/tcpJsonClient.aardio +36 -0
  695. package/aardio/lib/process/ruby/_.aardio +196 -0
  696. package/aardio/lib/process/ruby/cgi.aardio +76 -0
  697. package/aardio/lib/process/ruby/simpleHttpServer.aardio +44 -0
  698. package/aardio/lib/process/rundll.aardio +44 -0
  699. package/aardio/lib/process/rust/_.aardio +176 -0
  700. package/aardio/lib/process/temp.aardio +116 -0
  701. package/aardio/lib/process/token.aardio +122 -0
  702. package/aardio/lib/process/usage.aardio +74 -0
  703. package/aardio/lib/process/vswhere.aardio +63 -0
  704. package/aardio/lib/process/wmi.aardio +65 -0
  705. package/aardio/lib/process/wow64.aardio +34 -0
  706. package/aardio/lib/protobuf/message.aardio +348 -0
  707. package/aardio/lib/protobuf/parser/_.aardio +362 -0
  708. package/aardio/lib/protobuf/parser/lex.aardio +221 -0
  709. package/aardio/lib/protobuf/parser/message.aardio +315 -0
  710. package/aardio/lib/protobuf/parser/template.aardio +159 -0
  711. package/aardio/lib/protobuf/reader/inputString.aardio +58 -0
  712. package/aardio/lib/protobuf/type/bool.aardio +29 -0
  713. package/aardio/lib/protobuf/type/bytes.aardio +28 -0
  714. package/aardio/lib/protobuf/type/double.aardio +24 -0
  715. package/aardio/lib/protobuf/type/enum.aardio +29 -0
  716. package/aardio/lib/protobuf/type/fixed32.aardio +23 -0
  717. package/aardio/lib/protobuf/type/fixed64.aardio +24 -0
  718. package/aardio/lib/protobuf/type/float.aardio +25 -0
  719. package/aardio/lib/protobuf/type/int32.aardio +29 -0
  720. package/aardio/lib/protobuf/type/int64.aardio +30 -0
  721. package/aardio/lib/protobuf/type/map.aardio +84 -0
  722. package/aardio/lib/protobuf/type/scalar.aardio +12 -0
  723. package/aardio/lib/protobuf/type/sfixed32.aardio +22 -0
  724. package/aardio/lib/protobuf/type/sfixed64.aardio +22 -0
  725. package/aardio/lib/protobuf/type/sint32.aardio +41 -0
  726. package/aardio/lib/protobuf/type/sint64.aardio +41 -0
  727. package/aardio/lib/protobuf/type/string.aardio +28 -0
  728. package/aardio/lib/protobuf/type/uint32.aardio +28 -0
  729. package/aardio/lib/protobuf/type/uint64.aardio +28 -0
  730. package/aardio/lib/raw/apiHook.aardio +122 -0
  731. package/aardio/lib/raw/argsPointer/.res/argsPointer.def +4 -0
  732. package/aardio/lib/raw/argsPointer/.res/argsPointer.dll +0 -0
  733. package/aardio/lib/raw/argsPointer/.res/build.aardio +15 -0
  734. package/aardio/lib/raw/argsPointer/_.aardio +144 -0
  735. package/aardio/lib/raw/asm/opCode.aardio +101 -0
  736. package/aardio/lib/raw/cdeclParameter.aardio +121 -0
  737. package/aardio/lib/raw/fasm/.res/FASM.DLL +0 -0
  738. package/aardio/lib/raw/fasm/.res/LICENSE.TXT +37 -0
  739. package/aardio/lib/raw/fasm/_.aardio +138 -0
  740. package/aardio/lib/raw/functions.aardio +78 -0
  741. package/aardio/lib/raw/interface.aardio +83 -0
  742. package/aardio/lib/raw/jsonCall.aardio +18 -0
  743. package/aardio/lib/raw/memory.aardio +86 -0
  744. package/aardio/lib/raw/pefile.aardio +479 -0
  745. package/aardio/lib/raw/struct.aardio +116 -0
  746. package/aardio/lib/service/_.aardio +742 -0
  747. package/aardio/lib/service/simpleTool.aardio +73 -0
  748. package/aardio/lib/sessionHandler/default.aardio +106 -0
  749. package/aardio/lib/sevenZip/lzma/.res/LzmaUtil.dll +0 -0
  750. package/aardio/lib/sevenZip/lzma/_.aardio +139 -0
  751. package/aardio/lib/sevenZip/lzma/httpFile.aardio +157 -0
  752. package/aardio/lib/sevenZip/lzma/tar.aardio +25 -0
  753. package/aardio/lib/sqlServer/_.aardio +632 -0
  754. package/aardio/lib/sqlite/.res/sqlite3.dll +0 -0
  755. package/aardio/lib/sqlite/_.aardio +6 -0
  756. package/aardio/lib/sqlite/backup.aardio +88 -0
  757. package/aardio/lib/sqlite/base.aardio +967 -0
  758. package/aardio/lib/string/aasdl.aardio +35 -0
  759. package/aardio/lib/string/builder.aardio +212 -0
  760. package/aardio/lib/string/chineseNumber.aardio +216 -0
  761. package/aardio/lib/string/cmdline.aardio +154 -0
  762. package/aardio/lib/string/conv/.res/data.txt +405 -0
  763. package/aardio/lib/string/conv/_.aardio +89 -0
  764. package/aardio/lib/string/conv/pinyin.aardio +65 -0
  765. package/aardio/lib/string/database.aardio +182 -0
  766. package/aardio/lib/string/encoding.aardio +54 -0
  767. package/aardio/lib/string/fontRanges.aardio +117 -0
  768. package/aardio/lib/string/fuzzyMatching.aardio +98 -0
  769. package/aardio/lib/string/glob.aardio +79 -0
  770. package/aardio/lib/string/html.aardio +145 -0
  771. package/aardio/lib/string/intSegments.aardio +52 -0
  772. package/aardio/lib/string/keywords/.res/keywords.dll +0 -0
  773. package/aardio/lib/string/keywords/_.aardio +74 -0
  774. package/aardio/lib/string/list.aardio +266 -0
  775. package/aardio/lib/string/lrc.aardio +209 -0
  776. package/aardio/lib/string/markdown/.res/autolink.c +297 -0
  777. package/aardio/lib/string/markdown/.res/autolink.h +51 -0
  778. package/aardio/lib/string/markdown/.res/buffer.c +234 -0
  779. package/aardio/lib/string/markdown/.res/buffer.h +96 -0
  780. package/aardio/lib/string/markdown/.res/houdini.h +37 -0
  781. package/aardio/lib/string/markdown/.res/houdini_href_e.c +108 -0
  782. package/aardio/lib/string/markdown/.res/houdini_html_e.c +84 -0
  783. package/aardio/lib/string/markdown/.res/html.c +635 -0
  784. package/aardio/lib/string/markdown/.res/html.h +77 -0
  785. package/aardio/lib/string/markdown/.res/html_blocks.h +206 -0
  786. package/aardio/lib/string/markdown/.res/html_smartypants.c +389 -0
  787. package/aardio/lib/string/markdown/.res/markdown.c +2556 -0
  788. package/aardio/lib/string/markdown/.res/markdown.h +138 -0
  789. package/aardio/lib/string/markdown/.res/stack.c +81 -0
  790. package/aardio/lib/string/markdown/.res/stack.h +29 -0
  791. package/aardio/lib/string/markdown/.res/sundown.dll +0 -0
  792. package/aardio/lib/string/markdown/.res//347/224/237/346/210/220DLL.aardio +19 -0
  793. package/aardio/lib/string/markdown/_.aardio +231 -0
  794. package/aardio/lib/string/padding.aardio +54 -0
  795. package/aardio/lib/string/regex.aardio +43 -0
  796. package/aardio/lib/string/res.aardio +20 -0
  797. package/aardio/lib/string/stream.aardio +89 -0
  798. package/aardio/lib/string/template.aardio +21 -0
  799. package/aardio/lib/string/xml.aardio +573 -0
  800. package/aardio/lib/string/xxtea.aardio +103 -0
  801. package/aardio/lib/sys/_.aardio +71 -0
  802. package/aardio/lib/sys/acl.aardio +232 -0
  803. package/aardio/lib/sys/audioVolume/.res/Release/volumeCtrl2.dll +0 -0
  804. package/aardio/lib/sys/audioVolume/.res/stdafx.cpp +8 -0
  805. package/aardio/lib/sys/audioVolume/.res/stdafx.h +16 -0
  806. package/aardio/lib/sys/audioVolume/.res/targetver.h +8 -0
  807. package/aardio/lib/sys/audioVolume/.res/volumeCtrl2.cpp +446 -0
  808. package/aardio/lib/sys/audioVolume/.res/volumeCtrl2.h +52 -0
  809. package/aardio/lib/sys/audioVolume/.res/volumeCtrl2.vcxproj +93 -0
  810. package/aardio/lib/sys/audioVolume/_.aardio +102 -0
  811. package/aardio/lib/sys/baseBoard.aardio +78 -0
  812. package/aardio/lib/sys/comPort.aardio +56 -0
  813. package/aardio/lib/sys/cp210x.aardio +54 -0
  814. package/aardio/lib/sys/cpu.aardio +151 -0
  815. package/aardio/lib/sys/ddcci.aardio +198 -0
  816. package/aardio/lib/sys/device.aardio +217 -0
  817. package/aardio/lib/sys/display.aardio +49 -0
  818. package/aardio/lib/sys/displaySwitch.aardio +27 -0
  819. package/aardio/lib/sys/hd.aardio +152 -0
  820. package/aardio/lib/sys/info.aardio +40 -0
  821. package/aardio/lib/sys/input.aardio +92 -0
  822. package/aardio/lib/sys/installed.aardio +107 -0
  823. package/aardio/lib/sys/locale/_.aardio +103 -0
  824. package/aardio/lib/sys/locale/abbrevNames.aardio +148 -0
  825. package/aardio/lib/sys/mem.aardio +64 -0
  826. package/aardio/lib/sys/midiOut.aardio +415 -0
  827. package/aardio/lib/sys/monitor.aardio +216 -0
  828. package/aardio/lib/sys/mpPreference.aardio +159 -0
  829. package/aardio/lib/sys/networkCards.aardio +84 -0
  830. package/aardio/lib/sys/networkIsolation.aardio +160 -0
  831. package/aardio/lib/sys/power/_.aardio +180 -0
  832. package/aardio/lib/sys/power/notification.aardio +91 -0
  833. package/aardio/lib/sys/printer.aardio +271 -0
  834. package/aardio/lib/sys/qfe.aardio +14 -0
  835. package/aardio/lib/sys/reg.aardio +40 -0
  836. package/aardio/lib/sys/run.aardio +32 -0
  837. package/aardio/lib/sys/runAsTask.aardio +87 -0
  838. package/aardio/lib/sys/soundDevice.aardio +46 -0
  839. package/aardio/lib/sys/storage.aardio +173 -0
  840. package/aardio/lib/sys/upnp/nat.aardio +126 -0
  841. package/aardio/lib/sys/vc11.aardio +14 -0
  842. package/aardio/lib/sys/vc14.aardio +98 -0
  843. package/aardio/lib/sys/volume.aardio +134 -0
  844. package/aardio/lib/sys/wallpaper.aardio +45 -0
  845. package/aardio/lib/sys/wsa.aardio +98 -0
  846. package/aardio/lib/table/product.aardio +79 -0
  847. package/aardio/lib/table/zip.aardio +40 -0
  848. package/aardio/lib/tcc/.dll/RELICENSING +60 -0
  849. package/aardio/lib/tcc/.dll/libtcc.dll +0 -0
  850. package/aardio/lib/tcc/.dll/libtcc.h +100 -0
  851. package/aardio/lib/tcc/.res.tar.lzma +0 -0
  852. package/aardio/lib/tcc/_.aardio +311 -0
  853. package/aardio/lib/thread/apiHook.aardio +109 -0
  854. package/aardio/lib/thread/atom.aardio +27 -0
  855. package/aardio/lib/thread/cmdline.aardio +18 -0
  856. package/aardio/lib/thread/command.aardio +315 -0
  857. package/aardio/lib/thread/dlManager.aardio +211 -0
  858. package/aardio/lib/thread/event.aardio +97 -0
  859. package/aardio/lib/thread/manage.aardio +166 -0
  860. package/aardio/lib/thread/semaphore.aardio +86 -0
  861. package/aardio/lib/thread/shareHandle.aardio +49 -0
  862. package/aardio/lib/thread/table.aardio +193 -0
  863. package/aardio/lib/thread/token.aardio +58 -0
  864. package/aardio/lib/thread/works.aardio +198 -0
  865. package/aardio/lib/time/ntp.aardio +160 -0
  866. package/aardio/lib/time/ole.aardio +179 -0
  867. package/aardio/lib/time/performance.aardio +28 -0
  868. package/aardio/lib/time/timer.aardio +32 -0
  869. package/aardio/lib/time/zone.aardio +97 -0
  870. package/aardio/lib/ustring/_.aardio +305 -0
  871. package/aardio/lib/util/_.aardio +157 -0
  872. package/aardio/lib/util/metaProperty.aardio +100 -0
  873. package/aardio/lib/util/registry.aardio +46 -0
  874. package/aardio/lib/util/table.aardio +118 -0
  875. package/aardio/lib/web/_.aardio +50 -0
  876. package/aardio/lib/web/asynServer.aardio +12 -0
  877. package/aardio/lib/web/form/_.aardio +1572 -0
  878. package/aardio/lib/web/form/menu.aardio +63 -0
  879. package/aardio/lib/web/form/query.aardio +77 -0
  880. package/aardio/lib/web/form/snap.aardio +63 -0
  881. package/aardio/lib/web/form/sockpuppet.aardio +75 -0
  882. package/aardio/lib/web/form/util.aardio +194 -0
  883. package/aardio/lib/web/json.aardio +489 -0
  884. package/aardio/lib/web/layout/.res/HTMLayout.dll +0 -0
  885. package/aardio/lib/web/layout/.res/master.css +9 -0
  886. package/aardio/lib/web/layout/_.aardio +704 -0
  887. package/aardio/lib/web/layout/behavior/_.aardio +34 -0
  888. package/aardio/lib/web/layout/behavior/collapsibleByIcon.aardio +22 -0
  889. package/aardio/lib/web/layout/behavior/collapsibleList.aardio +37 -0
  890. package/aardio/lib/web/layout/behavior/dragable.aardio +71 -0
  891. package/aardio/lib/web/layout/behavior/dropdown.aardio +15 -0
  892. package/aardio/lib/web/layout/behavior/expandableList.aardio +97 -0
  893. package/aardio/lib/web/layout/behavior/grid.aardio +288 -0
  894. package/aardio/lib/web/layout/behavior/gripper.aardio +12 -0
  895. package/aardio/lib/web/layout/behavior/lightBoxDialog.aardio +76 -0
  896. package/aardio/lib/web/layout/behavior/path.aardio +14 -0
  897. package/aardio/lib/web/layout/behavior/popup.aardio +44 -0
  898. package/aardio/lib/web/layout/behavior/scroller.aardio +32 -0
  899. package/aardio/lib/web/layout/behavior/selectionBox.aardio +60 -0
  900. package/aardio/lib/web/layout/behavior/shellIcon.aardio +37 -0
  901. package/aardio/lib/web/layout/behavior/sizer.aardio +52 -0
  902. package/aardio/lib/web/layout/behavior/sortableGrid.aardio +63 -0
  903. package/aardio/lib/web/layout/behavior/splitter.aardio +134 -0
  904. package/aardio/lib/web/layout/behavior/tabs.aardio +438 -0
  905. package/aardio/lib/web/layout/behavior/windowCommand.aardio +163 -0
  906. package/aardio/lib/web/layout/behavior/windowSizer.aardio +117 -0
  907. package/aardio/lib/web/layout/debug.aardio +54 -0
  908. package/aardio/lib/web/layout/element/_.aardio +1388 -0
  909. package/aardio/lib/web/layout/element/state.aardio +133 -0
  910. package/aardio/lib/web/layout/element/style.aardio +46 -0
  911. package/aardio/lib/web/layout/event/_.aardio +1047 -0
  912. package/aardio/lib/web/layout/valueObject.aardio +402 -0
  913. package/aardio/lib/web/mshtml.aardio +233 -0
  914. package/aardio/lib/web/msxml.aardio +198 -0
  915. package/aardio/lib/web/multipartFormData.aardio +134 -0
  916. package/aardio/lib/web/nativeMessaging/_.aardio +101 -0
  917. package/aardio/lib/web/nativeMessaging/install.aardio +33 -0
  918. package/aardio/lib/web/npm/_.aardio +45 -0
  919. package/aardio/lib/web/parser.aardio +122 -0
  920. package/aardio/lib/web/rest/client.aardio +606 -0
  921. package/aardio/lib/web/rest/github.aardio +90 -0
  922. package/aardio/lib/web/rest/htmlClient.aardio +52 -0
  923. package/aardio/lib/web/rest/jsonClient.aardio +67 -0
  924. package/aardio/lib/web/rest/jsonLiteClient.aardio +67 -0
  925. package/aardio/lib/web/rest/qywx.aardio +85 -0
  926. package/aardio/lib/web/rest/smsActivate/_.aardio +266 -0
  927. package/aardio/lib/web/rest/smsActivate/countryList.aardio +206 -0
  928. package/aardio/lib/web/rest/smsActivate/serviceList.aardio +548 -0
  929. package/aardio/lib/web/rest/xmlClient.aardio +28 -0
  930. package/aardio/lib/web/rpc/externalServer.aardio +257 -0
  931. package/aardio/lib/web/rpc/jsonClient.aardio +234 -0
  932. package/aardio/lib/web/rpc/jsonServer.aardio +244 -0
  933. package/aardio/lib/web/script/_.aardio +201 -0
  934. package/aardio/lib/web/script/es5.aardio +2259 -0
  935. package/aardio/lib/web/script/json.aardio +56 -0
  936. package/aardio/lib/web/simpleServer.aardio +20 -0
  937. package/aardio/lib/web/soapClient/_.aardio +241 -0
  938. package/aardio/lib/web/soapClient/parameters.aardio +87 -0
  939. package/aardio/lib/web/socket/chrome.aardio +122 -0
  940. package/aardio/lib/web/socket/client.aardio +515 -0
  941. package/aardio/lib/web/socket/jsonClient.aardio +274 -0
  942. package/aardio/lib/web/socket/jsonServer.aardio +322 -0
  943. package/aardio/lib/web/socket/server.aardio +533 -0
  944. package/aardio/lib/web/ui/_.aardio +291 -0
  945. package/aardio/lib/web/uploadData.aardio +34 -0
  946. package/aardio/lib/web/view/.res/webview.dll +0 -0
  947. package/aardio/lib/web/view/_.aardio +635 -0
  948. package/aardio/lib/web/view/dev.aardio +146 -0
  949. package/aardio/lib/win/#DEFINE.aardio +7002 -0
  950. package/aardio/lib/win/_.aardio +1027 -0
  951. package/aardio/lib/win/animate.aardio +81 -0
  952. package/aardio/lib/win/api.aardio +57 -0
  953. package/aardio/lib/win/appBar.aardio +136 -0
  954. package/aardio/lib/win/clip/_.aardio +83 -0
  955. package/aardio/lib/win/clip/file.aardio +94 -0
  956. package/aardio/lib/win/clip/gif.aardio +30 -0
  957. package/aardio/lib/win/clip/html.aardio +128 -0
  958. package/aardio/lib/win/clip/png.aardio +47 -0
  959. package/aardio/lib/win/clip/viewer.aardio +44 -0
  960. package/aardio/lib/win/cur.aardio +58 -0
  961. package/aardio/lib/win/debounce.aardio +20 -0
  962. package/aardio/lib/win/dlg/_.aardio +7 -0
  963. package/aardio/lib/win/dlg/chineseNumber.aardio +220 -0
  964. package/aardio/lib/win/dlg/color.aardio +35 -0
  965. package/aardio/lib/win/dlg/ctrlColor.aardio +49 -0
  966. package/aardio/lib/win/dlg/findReplace.aardio +117 -0
  967. package/aardio/lib/win/dlg/font.aardio +53 -0
  968. package/aardio/lib/win/dlg/message.aardio +305 -0
  969. package/aardio/lib/win/dlg/print.aardio +99 -0
  970. package/aardio/lib/win/font.aardio +174 -0
  971. package/aardio/lib/win/guid.aardio +137 -0
  972. package/aardio/lib/win/image.aardio +204 -0
  973. package/aardio/lib/win/imageList.aardio +145 -0
  974. package/aardio/lib/win/inputBox.aardio +66 -0
  975. package/aardio/lib/win/messageFilter.aardio +44 -0
  976. package/aardio/lib/win/ole/_.aardio +25 -0
  977. package/aardio/lib/win/path.aardio +85 -0
  978. package/aardio/lib/win/property.aardio +21 -0
  979. package/aardio/lib/win/reg.aardio +530 -0
  980. package/aardio/lib/win/region/_.aardio +33 -0
  981. package/aardio/lib/win/region/bitmap/.res/build.aardio +257 -0
  982. package/aardio/lib/win/region/bitmap/.res/c.dll +0 -0
  983. package/aardio/lib/win/region/bitmap/_.aardio +108 -0
  984. package/aardio/lib/win/region/hole.aardio +56 -0
  985. package/aardio/lib/win/region/png/.res/build.aardio +41 -0
  986. package/aardio/lib/win/region/png/.res/c.dll +0 -0
  987. package/aardio/lib/win/region/png/_.aardio +108 -0
  988. package/aardio/lib/win/region/round.aardio +69 -0
  989. package/aardio/lib/win/region/transparent.aardio +38 -0
  990. package/aardio/lib/win/rt/bcp47.aardio +102 -0
  991. package/aardio/lib/win/rt/hString.aardio +105 -0
  992. package/aardio/lib/win/subclass.aardio +38 -0
  993. package/aardio/lib/win/taskScheduler.aardio +194 -0
  994. package/aardio/lib/win/timer.aardio +86 -0
  995. package/aardio/lib/win/ts/_.aardio +155 -0
  996. package/aardio/lib/win/ts/changeNotification.aardio +56 -0
  997. package/aardio/lib/win/ui/_.aardio +1897 -0
  998. package/aardio/lib/win/ui/accelerator.aardio +87 -0
  999. package/aardio/lib/win/ui/atom.aardio +57 -0
  1000. package/aardio/lib/win/ui/background.aardio +204 -0
  1001. package/aardio/lib/win/ui/ctrl/_.aardio +193 -0
  1002. package/aardio/lib/win/ui/ctrl/atlax.aardio +125 -0
  1003. package/aardio/lib/win/ui/ctrl/bk.aardio +191 -0
  1004. package/aardio/lib/win/ui/ctrl/bkplus.aardio +306 -0
  1005. package/aardio/lib/win/ui/ctrl/button.aardio +348 -0
  1006. package/aardio/lib/win/ui/ctrl/calendar.aardio +135 -0
  1007. package/aardio/lib/win/ui/ctrl/checklist.aardio +33 -0
  1008. package/aardio/lib/win/ui/ctrl/close.aardio +62 -0
  1009. package/aardio/lib/win/ui/ctrl/combobox.aardio +343 -0
  1010. package/aardio/lib/win/ui/ctrl/custom.aardio +159 -0
  1011. package/aardio/lib/win/ui/ctrl/datetimepick.aardio +185 -0
  1012. package/aardio/lib/win/ui/ctrl/edit.aardio +671 -0
  1013. package/aardio/lib/win/ui/ctrl/hotkey.aardio +126 -0
  1014. package/aardio/lib/win/ui/ctrl/ipaddress.aardio +134 -0
  1015. package/aardio/lib/win/ui/ctrl/listbox.aardio +323 -0
  1016. package/aardio/lib/win/ui/ctrl/listview.aardio +1642 -0
  1017. package/aardio/lib/win/ui/ctrl/metaProperty/_.aardio +1220 -0
  1018. package/aardio/lib/win/ui/ctrl/pick/.res/color.cur +0 -0
  1019. package/aardio/lib/win/ui/ctrl/pick/.res/color.png +0 -0
  1020. package/aardio/lib/win/ui/ctrl/pick/_.aardio +1010 -0
  1021. package/aardio/lib/win/ui/ctrl/picturebox.aardio +183 -0
  1022. package/aardio/lib/win/ui/ctrl/plus.aardio +2086 -0
  1023. package/aardio/lib/win/ui/ctrl/progress.aardio +149 -0
  1024. package/aardio/lib/win/ui/ctrl/richedit.aardio +916 -0
  1025. package/aardio/lib/win/ui/ctrl/scrollbar.aardio +153 -0
  1026. package/aardio/lib/win/ui/ctrl/spin.aardio +216 -0
  1027. package/aardio/lib/win/ui/ctrl/splitter.aardio +261 -0
  1028. package/aardio/lib/win/ui/ctrl/static.aardio +167 -0
  1029. package/aardio/lib/win/ui/ctrl/syslink.aardio +132 -0
  1030. package/aardio/lib/win/ui/ctrl/tab.aardio +312 -0
  1031. package/aardio/lib/win/ui/ctrl/thread.aardio +86 -0
  1032. package/aardio/lib/win/ui/ctrl/trackbar.aardio +274 -0
  1033. package/aardio/lib/win/ui/ctrl/treeview.aardio +1051 -0
  1034. package/aardio/lib/win/ui/ctrl/vlistview.aardio +17 -0
  1035. package/aardio/lib/win/ui/explorer.aardio +243 -0
  1036. package/aardio/lib/win/ui/fade.aardio +65 -0
  1037. package/aardio/lib/win/ui/grid.aardio +224 -0
  1038. package/aardio/lib/win/ui/layered.aardio +189 -0
  1039. package/aardio/lib/win/ui/layeredRound.aardio +18 -0
  1040. package/aardio/lib/win/ui/listEdit.aardio +93 -0
  1041. package/aardio/lib/win/ui/listPopup.aardio +130 -0
  1042. package/aardio/lib/win/ui/localization.aardio +18 -0
  1043. package/aardio/lib/win/ui/mask.aardio +51 -0
  1044. package/aardio/lib/win/ui/menu.aardio +646 -0
  1045. package/aardio/lib/win/ui/minmax.aardio +133 -0
  1046. package/aardio/lib/win/ui/orphanPlus.aardio +62 -0
  1047. package/aardio/lib/win/ui/resizeBorder.aardio +75 -0
  1048. package/aardio/lib/win/ui/scrollbar.aardio +121 -0
  1049. package/aardio/lib/win/ui/shadow.aardio +274 -0
  1050. package/aardio/lib/win/ui/simpleWindow.aardio +124 -0
  1051. package/aardio/lib/win/ui/simpleWindow2.aardio +84 -0
  1052. package/aardio/lib/win/ui/simpleWindow3.aardio +45 -0
  1053. package/aardio/lib/win/ui/statusbar.aardio +185 -0
  1054. package/aardio/lib/win/ui/tabs.aardio +1312 -0
  1055. package/aardio/lib/win/ui/toolbar.aardio +415 -0
  1056. package/aardio/lib/win/ui/tooltip.aardio +490 -0
  1057. package/aardio/lib/win/ui/tracker.aardio +289 -0
  1058. package/aardio/lib/win/util/autoComplete.aardio +34 -0
  1059. package/aardio/lib/win/util/changeNotification.aardio +196 -0
  1060. package/aardio/lib/win/util/desktop.aardio +123 -0
  1061. package/aardio/lib/win/util/deviceNotification.aardio +217 -0
  1062. package/aardio/lib/win/util/lyric.aardio +111 -0
  1063. package/aardio/lib/win/util/popup.aardio +98 -0
  1064. package/aardio/lib/win/util/round.aardio +8 -0
  1065. package/aardio/lib/win/util/savePosition.aardio +51 -0
  1066. package/aardio/lib/win/util/shellhook.aardio +43 -0
  1067. package/aardio/lib/win/util/tray.aardio +197 -0
  1068. package/aardio/lib/win/version.aardio +177 -0
  1069. package/aardio/lib/win/versionEx.aardio +70 -0
  1070. package/aardio/lib/winex/_.aardio +740 -0
  1071. package/aardio/lib/winex/accObject/_.aardio +287 -0
  1072. package/aardio/lib/winex/accObject/element.aardio +235 -0
  1073. package/aardio/lib/winex/caret.aardio +73 -0
  1074. package/aardio/lib/winex/ctrl/_.aardio +4 -0
  1075. package/aardio/lib/winex/ctrl/edit.aardio +44 -0
  1076. package/aardio/lib/winex/ctrl/listview.aardio +383 -0
  1077. package/aardio/lib/winex/desktop.aardio +22 -0
  1078. package/aardio/lib/winex/key.aardio +102 -0
  1079. package/aardio/lib/winex/mouse.aardio +137 -0
  1080. package/aardio/lib/winex/selection.aardio +113 -0
  1081. package/aardio/lib/winex/tooltip.aardio +88 -0
  1082. package/aardio/lib/wsock/_.aardio +794 -0
  1083. package/aardio/lib/wsock/addrInfo.aardio +74 -0
  1084. package/aardio/lib/wsock/err.aardio +115 -0
  1085. package/aardio/lib/wsock/networkChange.aardio +69 -0
  1086. package/aardio/lib/wsock/tcp/asynClient.aardio +320 -0
  1087. package/aardio/lib/wsock/tcp/asynHttpServer.aardio +898 -0
  1088. package/aardio/lib/wsock/tcp/asynServer.aardio +323 -0
  1089. package/aardio/lib/wsock/tcp/client.aardio +722 -0
  1090. package/aardio/lib/wsock/tcp/jsonClient.aardio +243 -0
  1091. package/aardio/lib/wsock/tcp/server.aardio +153 -0
  1092. package/aardio/lib/wsock/tcp/simpleHttpServer.aardio +903 -0
  1093. package/aardio/lib/wsock/tcp/socks5Client.aardio +129 -0
  1094. package/aardio/lib/wsock/udp/asynClient.aardio +62 -0
  1095. package/aardio/lib/wsock/udp/client.aardio +210 -0
  1096. package/aardio/lib/wsock/udp/ssdpClient.aardio +71 -0
  1097. package/aardio/lib/zlib/.res/zlibwapi.dll +0 -0
  1098. package/aardio/lib/zlib/_.aardio +404 -0
  1099. package/aardio/lib/zlib/httpFile.aardio +160 -0
  1100. package/aardio/lib/zlib/installer.aardio +66 -0
  1101. package/aardio/lib/zlib/unzip.aardio +261 -0
  1102. package/aardio/lib/zlib/zip.aardio +185 -0
  1103. package/aardio/project/aview/.build/default.Manifest.xml +61 -0
  1104. package/aardio/project/aview/.build/default.init.aardio +2 -0
  1105. package/aardio/project/aview/.build/default.main.aardio +6 -0
  1106. package/aardio/project/aview/.build/mp.lock +1 -0
  1107. package/aardio/project/aview/.build/update-maker.table +6 -0
  1108. package/aardio/project/aview/default.aproj +8 -0
  1109. package/aardio/project/aview/lib/aview/_.aardio +339 -0
  1110. package/aardio/project/aview/lib/aview/patch.aardio +411 -0
  1111. package/aardio/project/aview/lib/com/lite2.aardio +27 -0
  1112. package/aardio/project/aview/lib/fsys/file2.aardio +80 -0
  1113. package/aardio/project/aview/lib/fsys/update/simpleMain2.aardio +291 -0
  1114. package/aardio/project/aview/lib/key/hotkey2/_.aardio +552 -0
  1115. package/aardio/project/aview/lib/process/default.aardio +17 -0
  1116. package/aardio/project/aview/lib/process/popen2.aardio +75 -0
  1117. package/aardio/project/aview/lib/web/view2/_.aardio +706 -0
  1118. package/aardio/project/aview/lib/win/ui/menu2.aardio +154 -0
  1119. package/aardio/project/aview/main.aardio +124 -0
  1120. package/aardio/project/aview/res/env.d.ts +23 -0
  1121. package/aardio/project/aview/res/index.js +641 -0
  1122. package/aardio/project/aview/res/index.ts +1116 -0
  1123. package/aardio/project/aview/res/tsconfig.json +103 -0
  1124. package/bin/aview.js +2 -0
  1125. package/dist/node/cli.js +1 -0
  1126. package/index.js +1 -0
  1127. package/package.json +19 -0
@@ -0,0 +1,1469 @@
1
+ /*
2
+ 可遵循 aardio 用户协议与 aardio 开源许可证在 aardio 程序中自由使用本组件以及本组件源码,
3
+ 禁止在非 aardio 开发的程序中引用本组件的任何部份(包含但不限于本组件源码、使用此源码生成的 DLL )
4
+ */
5
+ using System;
6
+ using System.CodeDom.Compiler;
7
+ using System.Collections;
8
+ using System.Reflection;
9
+ using System.Runtime.InteropServices;
10
+ using System.IO;
11
+ using System.Collections.Generic;
12
+
13
+ namespace Aardio.InteropServices
14
+ {
15
+ [Guid("7C856F49-0310-40F6-A1F2-B7BBB4C48F30")] //不可修改 GUID
16
+ [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
17
+ [ComImport]
18
+ public interface IDispatchableObject
19
+ {
20
+ }
21
+
22
+ [ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true)]
23
+ public class DispatchableObject: IDispatchableObject, IEnumerable
24
+ {
25
+ private object underlyingObject;
26
+ private Type type;
27
+ public DispatchableObject(object obj, bool byRef) { underlyingObject = obj; type = underlyingObject.GetType(); ByRef = byRef; }
28
+ public bool ByRef;
29
+
30
+ [DispId(0)]
31
+ public object this[int index]
32
+ {
33
+ get
34
+ {
35
+ if (underlyingObject is Array arr) return arr.GetValue(index);
36
+ return null;
37
+ }
38
+ set
39
+ {
40
+ if (underlyingObject is Array arr) arr.SetValue(value,index);
41
+ }
42
+ }
43
+
44
+ public int Length
45
+ {
46
+ get {
47
+ if (underlyingObject is Array arr) return arr.Length;
48
+ return 0;
49
+ }
50
+ }
51
+
52
+ public Object Value
53
+ {
54
+ get { return underlyingObject; }
55
+ set { underlyingObject = value; }
56
+ }
57
+
58
+
59
+ public object Invoke(params object[] args) {
60
+ if( typeof(Delegate).IsAssignableFrom(type))
61
+ {
62
+ return type.InvokeMember("", BindingFlags.InvokeMethod, null, underlyingObject, args);
63
+ }
64
+
65
+ return underlyingObject;
66
+ }
67
+
68
+ public override string ToString()
69
+ {
70
+ return underlyingObject.ToString();
71
+ }
72
+
73
+ public IEnumerator GetEnumerator()
74
+ {
75
+ if (underlyingObject is Array arr) return arr.GetEnumerator();
76
+ if (underlyingObject is IEnumerable) return type.InvokeMember("GetEnumerator", BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.Public, null, underlyingObject, null) as IEnumerator;
77
+ throw new NotImplementedException();
78
+ }
79
+ }
80
+
81
+ //*注意 COM 类里传来的 .Net 对象也会变成 System.__ComObject,非 COM 类才会还原 .Net 对象*/
82
+ [ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true)]
83
+ public class Utility
84
+ {
85
+ public static Type DispatchableObjectType = typeof(DispatchableObject);
86
+ static Type ColorType = typeof(System.Drawing.Color);
87
+ static Type IntPtrType = typeof(System.IntPtr);
88
+ static Type UIntPtrType = typeof(System.UIntPtr);
89
+
90
+ public static object WrapNonPrimitiveValueToAnyObjectRef(object ret)
91
+ {
92
+ if (ret == null) return ret;
93
+
94
+ Type t = ret.GetType();
95
+ if (t.IsPrimitive || t.IsEnum) return ret;
96
+
97
+ if (!t.IsValueType)
98
+ {
99
+ if(t.IsArray){
100
+ Type tEle = t.GetElementType();
101
+ Array arr = ret as Array;
102
+
103
+ if (arr.GetLength(0) ==0 ) return new Aardio.InteropServices.DispatchableObject(ret, false);
104
+ if (tEle.IsPrimitive || tEle.IsEnum || (typeof(string) == tEle) ) return ret;
105
+
106
+ if (tEle.IsArray)
107
+ {
108
+ object first = WrapNonPrimitiveValueToAnyObjectRef(arr.GetValue(0));
109
+ if( (first!=null) && (first.GetType() == DispatchableObjectType))
110
+ {
111
+ return new Aardio.InteropServices.DispatchableObject(ret, false);
112
+ }
113
+ }
114
+ else
115
+ {
116
+ //System.Drawing.Color 如果是数组不作转换
117
+ return new DispatchableObject(ret, false);
118
+ }
119
+ }
120
+ else if(t.IsClass)
121
+ {
122
+ try
123
+ {
124
+ var ptr = Marshal.GetIDispatchForObject(ret);
125
+ if (ptr != null) Marshal.Release(ptr);
126
+ }
127
+ catch (InvalidOperationException)
128
+ {
129
+ return new Aardio.InteropServices.DispatchableObject(ret, false);
130
+ }
131
+ catch (Exception)
132
+ {
133
+ return ret;
134
+ }
135
+ }
136
+
137
+
138
+ return ret;
139
+ }
140
+
141
+ if (t == ColorType) return ((System.Drawing.Color)ret).ToArgb();
142
+ return new DispatchableObject(ret,false);
143
+ }
144
+
145
+ public object CreateAnyObject(object v,bool byRef = false)
146
+ {
147
+ return new DispatchableObject(v, byRef);
148
+ }
149
+
150
+ private void setOutValue(object []outArgs,object [] invokeArgs2)
151
+ {
152
+ for (int i = 0; i < outArgs.Length; i++)
153
+ {
154
+ if(outArgs[i] != null )
155
+ {
156
+ (outArgs[i] as DispatchableObject).Value = invokeArgs2[i];
157
+ }
158
+ }
159
+ }
160
+
161
+ public CCodeCompiler CreateCompiler(string provideType)
162
+ {
163
+ object obj = this.loadAssembly("System").CreateInstance(provideType);
164
+ if (obj == null)
165
+ {
166
+ return null;
167
+ }
168
+ return new CCodeCompiler(obj as CodeDomProvider);
169
+ }
170
+
171
+
172
+ public object GetTypeByName(object assembly, string typeName)
173
+ {
174
+ return (assembly as Assembly).GetType(typeName,false);
175
+ }
176
+
177
+ public object GetClassTypeByName(object assembly, string typeName)
178
+ {
179
+ Type t = (assembly as Assembly).GetType(typeName, false);
180
+ if (t != null && t.IsClass) return t;
181
+ return null;
182
+ }
183
+
184
+ public object InvokeMember2(object tAnyObject , object assemblyName, string typeName, string methodName, int invokeAttr, object args, object target)
185
+ {
186
+ try
187
+ {
188
+ Type tAny = tAnyObject as Type;
189
+ Assembly assembly = assemblyName as Assembly;
190
+
191
+ if (assembly == null)
192
+ {
193
+ assembly = this.loadAssembly(assemblyName as string);
194
+ }
195
+ if (assembly != null)
196
+ {
197
+ if (tAny == null) tAny = assembly.GetType(typeName);
198
+ if (((BindingFlags)invokeAttr & BindingFlags.CreateInstance) == BindingFlags.CreateInstance)
199
+ {
200
+
201
+ if (tAny != null && tAny.IsClass)
202
+ {
203
+ return CreateInstanceByClassType(tAny, (args as ArrayList), target);
204
+ }
205
+
206
+ }
207
+
208
+ if( (invokeAttr & (16 | 8 | 256)) == (16 | 8 | 256))
209
+ {
210
+ if( (target == null) && (typeName !=null) && (methodName != null) )
211
+ {
212
+ Type tAny2 = assembly.GetType(typeName + "." + methodName);
213
+ if (tAny2 != null )
214
+ {
215
+ if(tAny2.IsClass) return CreateInstanceByClassType(tAny2, (args as ArrayList), target);
216
+ if (tAny2.IsValueType && !tAny2.IsEnum && !tAny2.IsPrimitive)
217
+ {
218
+ return CreateInstanceByClassType(tAny2, (args as ArrayList), target);
219
+ }
220
+ }
221
+ }
222
+
223
+ if (tAny == null) throw new MissingMethodException();
224
+ }
225
+
226
+ return InvokeMemberByType(tAny, methodName, invokeAttr, args, target);
227
+ }
228
+
229
+ }
230
+ catch (TargetInvocationException targetEx)
231
+ {
232
+ if (targetEx.InnerException != null)
233
+ {
234
+ throw targetEx.InnerException;
235
+ }
236
+ }
237
+
238
+ return null;
239
+
240
+ }
241
+
242
+
243
+ public object InvokeMember(object assemblyName, string typeName, string methodName, int invokeAttr, object args, object target)
244
+ {
245
+ try
246
+ {
247
+ Assembly assembly = assemblyName as Assembly;
248
+ if (assembly == null)
249
+ {
250
+ assembly = this.loadAssembly(assemblyName as string);
251
+ }
252
+ if (assembly != null)
253
+ {
254
+
255
+ Type tAny = assembly.GetType(typeName);
256
+ if (((BindingFlags)invokeAttr & BindingFlags.CreateInstance) == BindingFlags.CreateInstance)
257
+ {
258
+
259
+ if (tAny != null && tAny.IsClass)
260
+ {
261
+ return CreateInstanceByClassType(tAny, (args as ArrayList), target);
262
+ }
263
+
264
+ }
265
+
266
+ if (((BindingFlags)invokeAttr & BindingFlags.InvokeMethod) == BindingFlags.InvokeMethod)
267
+ {
268
+ if (tAny == null)
269
+ {
270
+ tAny = assembly.GetType(typeName + "." + methodName);
271
+ if (tAny != null && tAny.IsClass && ((invokeAttr & (16 | 8 | 256)) == (16 | 8 | 256)))
272
+ {
273
+ return CreateInstanceByClassType(tAny, (args as ArrayList), target);
274
+ }
275
+ }
276
+
277
+ if (tAny == null) throw new MissingMethodException();
278
+ }
279
+
280
+ return InvokeMemberByType(tAny, methodName, invokeAttr, args, target);
281
+ }
282
+
283
+ }
284
+ catch (TargetInvocationException targetEx)
285
+ {
286
+ if (targetEx.InnerException != null)
287
+ {
288
+ throw targetEx.InnerException;
289
+ }
290
+ }
291
+
292
+ return null;
293
+
294
+ }
295
+
296
+ public object InvokeObjectMember(object target, string methodName, int invokeAttr, object args)
297
+ {
298
+ if (target == null)
299
+ {
300
+ return null;
301
+ }
302
+
303
+ try
304
+ {
305
+ return InvokeMemberByType(target.GetType(), methodName, invokeAttr, args, target);
306
+ }
307
+ catch (TargetInvocationException targetEx)
308
+ {
309
+ if (targetEx.InnerException != null)
310
+ {
311
+ throw targetEx.InnerException;
312
+ }
313
+ }
314
+
315
+ return null;
316
+ }
317
+
318
+
319
+ public object RoundTrip(object target)
320
+ {
321
+ return RoundTripRaw(target);
322
+ }
323
+
324
+ [ComVisible(false)]
325
+ public object RoundTripRaw(object target)
326
+ {
327
+ Type tAny = target.GetType();
328
+ if (tAny == DispatchableObjectType )
329
+ {
330
+ target = (target as DispatchableObject).Value;
331
+ }
332
+
333
+ return WrapNonPrimitiveValueToAnyObjectRef(target);
334
+ }
335
+
336
+ public object InvokeMemberByType(Type tAny, string methodName, int invokeAttr, object args, object target)
337
+ {
338
+ ArrayList argArrayList = (args as ArrayList);
339
+ if ( (tAny == DispatchableObjectType) && (target != null) )
340
+ {
341
+ DispatchableObject dispObj = (target as DispatchableObject);
342
+ target = dispObj.Value;
343
+ tAny = target.GetType();
344
+
345
+ if((((BindingFlags)invokeAttr & BindingFlags.InvokeMethod)!= BindingFlags.InvokeMethod) && (methodName == "Value") )
346
+ {
347
+ Type tEle = tAny;
348
+ if (tAny.IsArray) tEle = tAny.GetElementType();
349
+
350
+ if (tEle.IsPrimitive || tEle.IsEnum || tEle.IsArray || (tEle == typeof(string) ) ){
351
+ if (((BindingFlags)invokeAttr & BindingFlags.GetField) == BindingFlags.GetField)
352
+ {
353
+ return target;
354
+ }
355
+ else if (((BindingFlags)invokeAttr & BindingFlags.SetField) == BindingFlags.SetField)
356
+ {
357
+ if (argArrayList[0].GetType().Equals(tAny)) dispObj.Value = argArrayList[0];
358
+ else dispObj.Value = Convert.ChangeType(argArrayList[0], tAny);
359
+ return null;
360
+ }
361
+ }
362
+ }
363
+ }
364
+
365
+ if ((argArrayList == null) || (argArrayList.Count == 0) )
366
+ {
367
+ //不需要匹配参数类型,不需要自动转换。
368
+ return WrapNonPrimitiveValueToAnyObjectRef(tAny.InvokeMember(methodName, (BindingFlags)invokeAttr | BindingFlags.IgnoreReturn, null, target, null));
369
+ }
370
+
371
+ if (((BindingFlags)invokeAttr & BindingFlags.InvokeMethod) == BindingFlags.InvokeMethod)
372
+ {
373
+ bool hasOutValues = false;
374
+ object[] outArgs = new object[argArrayList.Count];
375
+ Type[] argTypeArray = new Type[argArrayList.Count];
376
+ for (int i = 0; i < argArrayList.Count; i++)
377
+ {
378
+ argTypeArray[i] = argArrayList[i] != null ? argArrayList[i].GetType() : null;
379
+ if (argTypeArray[i] == DispatchableObjectType) {
380
+ DispatchableObject v = (argArrayList[i] as DispatchableObject);
381
+ if (v.ByRef)
382
+ {
383
+ outArgs[i] = argArrayList[i];
384
+ hasOutValues = true;
385
+ }
386
+
387
+ argArrayList[i] = v.Value;
388
+ }
389
+ }
390
+ if (!hasOutValues) outArgs = null;
391
+
392
+ MethodInfo m = null;
393
+ try
394
+ {
395
+ m = tAny.GetMethod(methodName, (BindingFlags)invokeAttr | BindingFlags.IgnoreReturn, null, argTypeArray, null);
396
+ }
397
+ catch (SystemException)
398
+ {
399
+
400
+ }
401
+
402
+ if (m != null)
403
+ {
404
+ object []invokeArgs3 = argArrayList != null ? argArrayList.ToArray() : null;
405
+ object ret2 = WrapNonPrimitiveValueToAnyObjectRef( m.Invoke(target, invokeArgs3) );
406
+ if (outArgs != null) setOutValue(outArgs, invokeArgs3);
407
+ return ret2;
408
+ }
409
+
410
+
411
+ MethodInfo[] ms = tAny.GetMethods((BindingFlags)invokeAttr | BindingFlags.IgnoreReturn);
412
+ bool failed = true;
413
+
414
+ object[] invokeArgs2 = null;
415
+ object ret = InvokeMemberBaseMethodInfo(methodName, ms, argArrayList, ref failed, target, invokeAttr, ref invokeArgs2);
416
+ if (!failed)
417
+ {
418
+ ret = WrapNonPrimitiveValueToAnyObjectRef(ret);
419
+ if ((outArgs != null) && ( invokeArgs2!=null ) ) setOutValue(outArgs, invokeArgs2);
420
+ return ret;
421
+ }
422
+ }
423
+
424
+ if (((BindingFlags)invokeAttr & BindingFlags.SetProperty) == BindingFlags.SetProperty)
425
+ {
426
+ for (int i = 0; i < argArrayList.Count; i++)
427
+ {
428
+ if (argArrayList[i] is DispatchableObject v)
429
+ {
430
+ argArrayList[i] = v.Value;
431
+ }
432
+ }
433
+
434
+ PropertyInfo prop = null;
435
+ try
436
+ {
437
+ prop = tAny.GetProperty(methodName, (BindingFlags)invokeAttr);
438
+ }
439
+ catch(AmbiguousMatchException)
440
+ {
441
+ ArrayList arrList = new ArrayList();
442
+ PropertyInfo []props = tAny.GetProperties( (BindingFlags)invokeAttr);
443
+
444
+ for (int i = 0; i < props.Length; i++)
445
+ {
446
+ if (props[i].Name == methodName)
447
+ {
448
+ arrList.Add(props[i].GetSetMethod());
449
+ }
450
+ }
451
+
452
+ if (arrList.Count > 0) {
453
+
454
+ MethodInfo[] ms = new MethodInfo[arrList.Count];
455
+ for (int i = 0; i < ms.Length; i++)
456
+ {
457
+ ms[i] = arrList[i] as MethodInfo;
458
+ }
459
+
460
+ bool failed = true;
461
+ object[] invokeArgs2 = null;
462
+ InvokeMemberBaseMethodInfo(ms[0].Name, ms, argArrayList, ref failed, target, invokeAttr, ref invokeArgs2);
463
+ if (!failed)
464
+ {
465
+ return null;
466
+ }
467
+ }
468
+
469
+ }
470
+
471
+ if (prop != null)
472
+ {
473
+ invokeAttr = invokeAttr & ~(int)BindingFlags.SetField;
474
+ var lastIndex = argArrayList.Count - 1;
475
+ if ( argArrayList[lastIndex] != null)
476
+ {
477
+ MethodInfo ms = prop.GetSetMethod();
478
+
479
+ var parameters = ms.GetParameters();
480
+ if (parameters.Length == argArrayList.Count)
481
+ {
482
+ var paramType = parameters[lastIndex].ParameterType;
483
+ Type nullableUnderlyingType = Nullable.GetUnderlyingType(paramType);
484
+ if (nullableUnderlyingType != null)
485
+ {
486
+ paramType = nullableUnderlyingType;
487
+ }
488
+ //string a = paramType.Name;
489
+
490
+ var argType = argArrayList[lastIndex].GetType();
491
+ if (argType == DispatchableObjectType)
492
+ {
493
+ argArrayList[lastIndex] = (argArrayList[lastIndex] as DispatchableObject).Value;
494
+ argType = argArrayList[lastIndex].GetType();
495
+ }
496
+ var argTypeCode = Type.GetTypeCode(argType);
497
+
498
+ Type enumType = null;
499
+ if (paramType.IsEnum)
500
+ {
501
+ enumType = paramType;
502
+ paramType = Enum.GetUnderlyingType(enumType);
503
+ }
504
+
505
+ if (!paramType.IsAssignableFrom(argType))
506
+ {
507
+ if (typeof(Delegate).IsAssignableFrom(paramType) && argType.IsCOMObject )
508
+ {
509
+ var dd = new DispatchableDelegate(argArrayList[lastIndex]);
510
+ argArrayList[lastIndex] = (object)dd.CreateDelegate(paramType);
511
+ }
512
+ else if (argTypeCode == TypeCode.Double || argTypeCode == TypeCode.Int32)
513
+ {
514
+
515
+ if (IsNumericType(paramType))
516
+ {
517
+ argArrayList[lastIndex] = Convert.ChangeType(argArrayList[lastIndex], paramType);
518
+ }
519
+ else if (paramType == ColorType)
520
+ {
521
+ argArrayList[lastIndex] = ConvertNumToColor(argArrayList[lastIndex], argTypeCode);
522
+ }
523
+ else if (paramType == IntPtrType && argTypeCode == TypeCode.Int32 )
524
+ {
525
+ argArrayList[lastIndex] = new System.IntPtr( (int) argArrayList[lastIndex] );
526
+ }
527
+ else if (paramType == UIntPtrType && argTypeCode == TypeCode.Int32)
528
+ {
529
+ argArrayList[lastIndex] = new System.UIntPtr( (uint)(int) argArrayList[lastIndex]);
530
+ }
531
+ }
532
+ else if (paramType.IsArray && argType.IsArray)
533
+ {
534
+ var paramEleType = paramType.GetElementType();
535
+ var argEleType = argType.GetElementType();
536
+ var argEleTypeCode = Type.GetTypeCode(argEleType);
537
+
538
+ if ((argEleTypeCode == TypeCode.Double) && IsNumericType(paramEleType))
539
+ {
540
+
541
+ var srcArr = (argArrayList[lastIndex] as double[]);
542
+ var dstArr = Array.CreateInstance(paramEleType, srcArr.Length);
543
+ for (int n = 0; n < srcArr.Length; n++)
544
+ {
545
+ dstArr.SetValue(Convert.ChangeType(srcArr[n], paramEleType), n);
546
+ }
547
+
548
+ argArrayList[lastIndex] = dstArr;
549
+ }
550
+
551
+ }
552
+
553
+ }
554
+
555
+ if (enumType != null) argArrayList[lastIndex] = Enum.ToObject(enumType, argArrayList[lastIndex]);
556
+ }
557
+
558
+ }
559
+ }
560
+ }
561
+
562
+
563
+
564
+ if (((BindingFlags)invokeAttr & BindingFlags.SetField) == BindingFlags.SetField)
565
+ {
566
+ /*
567
+ for (int i = 0; i < argArrayList.Count; i++)
568
+ {
569
+ if (argArrayList[i] is DispatchableObject v)
570
+ {
571
+ argArrayList[i] = v.Value;
572
+ }
573
+ }
574
+ */
575
+
576
+ FieldInfo field = tAny.GetField(methodName, (BindingFlags)invokeAttr);
577
+ if (field != null)
578
+ {
579
+ invokeAttr = invokeAttr & ~(int)BindingFlags.SetProperty;
580
+
581
+ if ( argArrayList[0] != null)
582
+ {
583
+ var paramType = field.FieldType;
584
+ Type nullableUnderlyingType = Nullable.GetUnderlyingType(paramType);
585
+ if (nullableUnderlyingType != null)
586
+ {
587
+ paramType = nullableUnderlyingType;
588
+ }
589
+
590
+ var argType = argArrayList[0].GetType();
591
+ if (argType == DispatchableObjectType)
592
+ {
593
+ argArrayList[0] = (argArrayList[0] as DispatchableObject).Value;
594
+ argType = argArrayList[0].GetType();
595
+ }
596
+
597
+ var argTypeCode = Type.GetTypeCode(argType);
598
+
599
+ Type enumType = null;
600
+ if (paramType.IsEnum)
601
+ {
602
+ enumType = paramType;
603
+ paramType = Enum.GetUnderlyingType(enumType);
604
+ }
605
+
606
+ if (!paramType.IsAssignableFrom(argType))
607
+ {
608
+
609
+ if (typeof(Delegate).IsAssignableFrom(paramType) && argType.IsCOMObject)
610
+ {
611
+ var dd = new DispatchableDelegate(argArrayList[0]);
612
+ argArrayList[0] = (object)dd.CreateDelegate(paramType);
613
+ }
614
+ else if ((argTypeCode == TypeCode.Double) || (argTypeCode == TypeCode.Int32))
615
+ {
616
+
617
+ if (IsNumericType(paramType))
618
+ {
619
+ argArrayList[0] = Convert.ChangeType(argArrayList[0], paramType);
620
+ }
621
+ else if (paramType == ColorType)
622
+ {
623
+ argArrayList[0] = ConvertNumToColor(argArrayList[0], argTypeCode);
624
+ }
625
+ else if (paramType == IntPtrType && argTypeCode == TypeCode.Int32)
626
+ {
627
+ argArrayList[0] = new System.IntPtr((int)argArrayList[0]);
628
+ }
629
+ else if (paramType == UIntPtrType && argTypeCode == TypeCode.Int32)
630
+ {
631
+ argArrayList[0] = new System.UIntPtr((uint)(int)argArrayList[0]);
632
+ }
633
+ }
634
+ else if (paramType.IsArray && argType.IsArray)
635
+ {
636
+ var paramEleType = paramType.GetElementType();
637
+ var argEleType = argType.GetElementType();
638
+ var argEleTypeCode = Type.GetTypeCode(argEleType);
639
+
640
+ if ((argEleTypeCode == TypeCode.Double) && IsNumericType(paramEleType))
641
+ {
642
+
643
+ var srcArr = (argArrayList[0] as double[]);
644
+ var dstArr = Array.CreateInstance(paramEleType, srcArr.Length);
645
+ for (int n = 0; n < srcArr.Length; n++)
646
+ {
647
+ dstArr.SetValue(Convert.ChangeType(srcArr[n], paramEleType), n);
648
+ }
649
+
650
+ argArrayList[0] = dstArr;
651
+ }
652
+
653
+ }
654
+
655
+ }
656
+
657
+ if (enumType != null) argArrayList[0] = Enum.ToObject(enumType, argArrayList[0]);
658
+ }
659
+ }
660
+ }
661
+
662
+ if (((BindingFlags)invokeAttr & (BindingFlags.SetProperty | BindingFlags.SetField) ) == (BindingFlags.SetProperty | BindingFlags.SetField))
663
+ {
664
+ EventInfo eventInfo = tAny.GetEvent(methodName);
665
+ if (eventInfo != null)
666
+ {
667
+ Type handlerType = eventInfo.EventHandlerType;
668
+ //MethodInfo invokeMethod = handlerType.GetMethod("Invoke");
669
+
670
+ if(!(typeof(Delegate).IsAssignableFrom(argArrayList[0].GetType().BaseType)) )
671
+ {
672
+ var dd = new DispatchableDelegate(argArrayList[0]);
673
+ eventInfo.AddEventHandler(target, dd.CreateDelegate(handlerType));
674
+ }
675
+ else
676
+ {
677
+ eventInfo.AddEventHandler(target,(Delegate) argArrayList[0]);
678
+ }
679
+
680
+
681
+ return null;
682
+ }
683
+ }
684
+
685
+ if ((methodName == "Item") && (target is Array arr) )
686
+ {
687
+ if (((BindingFlags)invokeAttr & BindingFlags.GetProperty) == BindingFlags.GetProperty)
688
+ {
689
+ return WrapNonPrimitiveValueToAnyObjectRef(arr.GetValue((int)argArrayList[0]));
690
+ }
691
+ else if (((BindingFlags)invokeAttr & BindingFlags.SetProperty) == BindingFlags.SetProperty)
692
+ {
693
+ arr.SetValue(argArrayList[1], (int)argArrayList[0]);
694
+ return null;
695
+ }
696
+ }
697
+
698
+ return WrapNonPrimitiveValueToAnyObjectRef( tAny.InvokeMember(methodName, (BindingFlags)invokeAttr | BindingFlags.IgnoreReturn, null, target, (argArrayList != null) ? argArrayList.ToArray() : null) );
699
+ }
700
+
701
+ private object CreateInstanceByClassType(Type tClass, ArrayList argArrayList, object target)
702
+ {
703
+ if( (argArrayList == null) || (argArrayList.Count == 0))
704
+ {
705
+ return WrapNonPrimitiveValueToAnyObjectRef(tClass.InvokeMember("", (BindingFlags)BindingFlags.CreateInstance | BindingFlags.IgnoreReturn, null, target, null));
706
+ }
707
+
708
+
709
+ Type[] argTypeArray = new Type[argArrayList.Count];
710
+
711
+ bool hasOutValues = false;
712
+ object[] outArgs = new object[argArrayList.Count];
713
+ for (int i = 0; i < argArrayList.Count; i++)
714
+ {
715
+ argTypeArray[i] = argArrayList[i] != null ? argArrayList[i].GetType() : null;
716
+ if (argTypeArray[i] == DispatchableObjectType)
717
+ {
718
+ DispatchableObject v = (argArrayList[i] as DispatchableObject);
719
+ if (v.ByRef)
720
+ {
721
+ outArgs[i] = argArrayList[i];
722
+ hasOutValues = true;
723
+ }
724
+
725
+ argArrayList[i] = v.Value;
726
+ }
727
+ }
728
+ if (!hasOutValues) outArgs = null;
729
+
730
+ ConstructorInfo m = null;
731
+ try
732
+ {
733
+ m = tClass.GetConstructor(argTypeArray);
734
+ }
735
+ catch (SystemException)
736
+ {
737
+
738
+ }
739
+
740
+ if (m != null)
741
+ {
742
+ object[] invokeArgs = argArrayList.ToArray();
743
+ object ret = m.Invoke(invokeArgs);
744
+ if (outArgs != null) setOutValue(outArgs, invokeArgs);
745
+ return WrapNonPrimitiveValueToAnyObjectRef(ret);
746
+ }
747
+
748
+ ConstructorInfo[] ms = tClass.GetConstructors();
749
+ if(ms.Length==0 && tClass.IsValueType)
750
+ {
751
+ return WrapNonPrimitiveValueToAnyObjectRef( Activator.CreateInstance(tClass) );
752
+ }
753
+
754
+ bool failed = true;
755
+ object[] invokeArgs2 = null;
756
+ object ret2 = InvokeMemberBaseMethodInfo(".ctor", ms, argArrayList, ref failed, target, (int)BindingFlags.CreateInstance,ref invokeArgs2);
757
+ if (!failed)
758
+ {
759
+ if (outArgs != null) setOutValue(outArgs, invokeArgs2);
760
+ return WrapNonPrimitiveValueToAnyObjectRef(ret2);
761
+ }
762
+
763
+ invokeArgs2 = argArrayList.ToArray();
764
+ ret2 = tClass.InvokeMember("", (BindingFlags)BindingFlags.CreateInstance | BindingFlags.IgnoreReturn, null, target, invokeArgs2);
765
+ if (outArgs != null) setOutValue(outArgs, invokeArgs2);
766
+ return WrapNonPrimitiveValueToAnyObjectRef(ret2);
767
+ }
768
+
769
+ private static bool IsNumericType(Type t)
770
+ {
771
+ switch (Type.GetTypeCode(t))
772
+ {
773
+ case TypeCode.Byte:
774
+ case TypeCode.SByte:
775
+ case TypeCode.UInt16:
776
+ case TypeCode.UInt32:
777
+ case TypeCode.UInt64:
778
+ case TypeCode.Int16:
779
+ case TypeCode.Int32:
780
+ case TypeCode.Int64:
781
+ case TypeCode.Decimal:
782
+ case TypeCode.Double:
783
+ case TypeCode.Single:
784
+ return true;
785
+ default:
786
+ return false;
787
+ }
788
+ }
789
+
790
+ static System.Drawing.Color ConvertNumToColor(object arg, TypeCode argTypeCode)
791
+ {
792
+ byte[] bytes;
793
+ if (argTypeCode == TypeCode.Double) bytes = BitConverter.GetBytes((uint)Convert.ChangeType(arg, typeof(uint)));
794
+ else bytes = BitConverter.GetBytes((int)arg);
795
+
796
+ return System.Drawing.Color.FromArgb(bytes[3], bytes[2], bytes[1], bytes[0]);
797
+ }
798
+
799
+ private object InvokeMemberBaseMethodInfo(string methodName, MethodBase[] ms, ArrayList argArrayList, ref bool failed, object target, int invokeAttr, ref object[] invokeArgs2)
800
+ {
801
+
802
+ for (int i = 0; i < ms.Length; i++)
803
+ {
804
+ if ((ms[i].Name != methodName) || ms[i].IsGenericMethod) continue;
805
+ var parameters = ms[i].GetParameters();
806
+
807
+ if (parameters.Length == argArrayList.Count)
808
+ {
809
+ failed = false;
810
+ for (int k = 0; k < parameters.Length; k++)
811
+ {
812
+ var paramType = parameters[k].ParameterType;
813
+ Type nullableUnderlyingType = Nullable.GetUnderlyingType(paramType);
814
+ if (argArrayList[k] == null)
815
+ {
816
+ if (!paramType.IsValueType || nullableUnderlyingType != null)
817
+ continue;
818
+
819
+ failed = true;
820
+ break;
821
+ }
822
+
823
+ if (nullableUnderlyingType != null)
824
+ {
825
+ paramType = nullableUnderlyingType;
826
+ }
827
+
828
+ var argType = argArrayList[k].GetType();
829
+ if (paramType.IsAssignableFrom(argType)) continue;
830
+
831
+ Type enumType = null;
832
+ if (paramType.IsEnum)
833
+ {
834
+ enumType = paramType;
835
+ paramType = Enum.GetUnderlyingType(enumType);
836
+ }
837
+
838
+ //string a = paramType.Name;
839
+ if (!paramType.IsAssignableFrom(argType))
840
+ {
841
+ if (typeof(Delegate).IsAssignableFrom(paramType) && (argType == null) || argType.IsCOMObject)
842
+ {
843
+ if (argType != null)
844
+ {
845
+ var dd = new DispatchableDelegate(argArrayList[k]);
846
+ argArrayList[k] = (object)dd.CreateDelegate(paramType);
847
+ }
848
+
849
+ }
850
+ else
851
+ {
852
+ failed = true;
853
+ break;
854
+ }
855
+ }
856
+ else if (enumType != null) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
857
+ }
858
+
859
+ if (!failed)
860
+ {
861
+ invokeArgs2 = argArrayList.ToArray();
862
+ if (methodName == ".ctor") return (ms[i] as ConstructorInfo).Invoke(invokeArgs2);
863
+ return ms[i].Invoke(target, (BindingFlags)invokeAttr, null, invokeArgs2, null);
864
+ }
865
+ }
866
+ }
867
+
868
+ for (int i = 0; i < ms.Length; i++)
869
+ {
870
+ if ((ms[i].Name != methodName) || ms[i].IsGenericMethod) continue;
871
+
872
+ var parameters = ms[i].GetParameters();
873
+ if (parameters.Length > argArrayList.Count)
874
+ {
875
+ failed = false;
876
+ for (int k = 0; k < argArrayList.Count; k++)
877
+ {
878
+ var paramType = parameters[k].ParameterType;
879
+ Type nullableUnderlyingType = Nullable.GetUnderlyingType(paramType);
880
+ if (argArrayList[k] == null)
881
+ {
882
+ if (!paramType.IsValueType || nullableUnderlyingType != null)
883
+ continue;
884
+
885
+ failed = true;
886
+ break;
887
+ }
888
+
889
+ if (nullableUnderlyingType != null)
890
+ {
891
+ paramType = nullableUnderlyingType;
892
+ }
893
+
894
+ var argType = argArrayList[k].GetType();
895
+ if (paramType.IsAssignableFrom(argType)) continue;
896
+
897
+ Type enumType = null;
898
+ if (paramType.IsEnum)
899
+ {
900
+ enumType = paramType;
901
+ paramType = Enum.GetUnderlyingType(enumType);
902
+ }
903
+
904
+ if (!paramType.IsAssignableFrom(argType))
905
+ {
906
+ if (typeof(Delegate).IsAssignableFrom(paramType) && (argType == null) || argType.IsCOMObject)
907
+ {
908
+ if (argType != null)
909
+ {
910
+ var dd = new DispatchableDelegate(argArrayList[k]);
911
+ argArrayList[k] = (object)dd.CreateDelegate(paramType);
912
+ }
913
+ }
914
+ else
915
+ {
916
+ failed = true;
917
+ break;
918
+ }
919
+ }
920
+ else if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
921
+ }
922
+
923
+ ArrayList argList2 = argArrayList.Clone() as ArrayList;
924
+ for (int k = argArrayList.Count; k < parameters.Length; k++)
925
+ {
926
+ if (!parameters[k].IsOptional)
927
+ {
928
+ failed = true;
929
+ break;
930
+ }
931
+
932
+ argList2.Add(parameters[k].DefaultValue);
933
+ }
934
+
935
+ if (!failed)
936
+ {
937
+ invokeArgs2 = argList2.ToArray();
938
+ if (methodName == ".ctor") return (ms[i] as ConstructorInfo).Invoke(invokeArgs2);
939
+ return ms[i].Invoke(target, (BindingFlags)invokeAttr, null, invokeArgs2, null);
940
+ }
941
+ }
942
+ }
943
+
944
+ for (int i = 0; i < ms.Length; i++)
945
+ {
946
+ if ((ms[i].Name != methodName) || ms[i].IsGenericMethod) continue;
947
+
948
+ var parameters = ms[i].GetParameters();
949
+ if (parameters.Length == argArrayList.Count)
950
+ {
951
+ failed = false;
952
+ for (int k = 0; k < parameters.Length; k++)
953
+ {
954
+ var paramType = parameters[k].ParameterType;
955
+ Type nullableUnderlyingType = Nullable.GetUnderlyingType(paramType);
956
+ if (argArrayList[k] == null)
957
+ {
958
+ if (!paramType.IsValueType || nullableUnderlyingType != null)
959
+ continue;
960
+
961
+ failed = true;
962
+ break;
963
+ }
964
+
965
+ if (nullableUnderlyingType != null)
966
+ {
967
+ paramType = nullableUnderlyingType;
968
+ }
969
+
970
+ var argType = argArrayList[k].GetType();
971
+ if (paramType.IsAssignableFrom(argType)) continue;
972
+
973
+ Type enumType = null;
974
+ if (paramType.IsEnum)
975
+ {
976
+ enumType = paramType;
977
+ paramType = Enum.GetUnderlyingType(enumType);
978
+ }
979
+
980
+ //string a = paramType.Name;
981
+ if (!paramType.IsAssignableFrom(argType))
982
+ {
983
+ if (typeof(Delegate).IsAssignableFrom(paramType) && (argType == null) || argType.IsCOMObject)
984
+ {
985
+ if (argType != null)
986
+ {
987
+ var dd = new DispatchableDelegate(argArrayList[k]);
988
+ argArrayList[k] = (object)dd.CreateDelegate(paramType);
989
+ }
990
+ continue;
991
+ }
992
+
993
+ var paramTypeCode = Type.GetTypeCode(paramType);
994
+ var argTypeCode = Type.GetTypeCode(argType);
995
+
996
+ if (argTypeCode == TypeCode.Double || argTypeCode == TypeCode.Int32)
997
+ {
998
+
999
+ if (IsNumericType(paramType))
1000
+ {
1001
+ argArrayList[k] = Convert.ChangeType(argArrayList[k], paramType);
1002
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1003
+ continue;
1004
+ }
1005
+ else if (paramType == ColorType)
1006
+ {
1007
+ argArrayList[k] = ConvertNumToColor(argArrayList[k], argTypeCode);
1008
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1009
+ continue;
1010
+ }
1011
+ else if (paramType == IntPtrType && argTypeCode == TypeCode.Int32)
1012
+ {
1013
+ argArrayList[k] = new System.IntPtr((int)argArrayList[k]);
1014
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1015
+ continue;
1016
+ }
1017
+ else if (paramType == UIntPtrType && argTypeCode == TypeCode.Int32)
1018
+ {
1019
+ argArrayList[k] = new System.UIntPtr((uint)(int)argArrayList[k]);
1020
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1021
+ continue;
1022
+ }
1023
+ }
1024
+ else if (paramType.IsArray && argType.IsArray)
1025
+ {
1026
+ var paramEleType = paramType.GetElementType();
1027
+ var argEleType = argType.GetElementType();
1028
+ var argEleTypeCode = Type.GetTypeCode(argEleType);
1029
+
1030
+ if ((argEleTypeCode == TypeCode.Double) && IsNumericType(paramEleType))
1031
+ {
1032
+
1033
+ var srcArr = (argArrayList[k] as double[]);
1034
+ var dstArr = Array.CreateInstance(paramEleType, srcArr.Length);
1035
+ for (int n = 0; n < srcArr.Length; n++)
1036
+ {
1037
+ dstArr.SetValue(Convert.ChangeType(srcArr[n], paramEleType), n);
1038
+ }
1039
+
1040
+ argArrayList[k] = dstArr;
1041
+ continue;
1042
+ }
1043
+
1044
+ }
1045
+
1046
+ failed = true;
1047
+ break;
1048
+ }
1049
+
1050
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1051
+ }
1052
+
1053
+ if (!failed)
1054
+ {
1055
+ invokeArgs2 = argArrayList.ToArray();
1056
+ if (methodName == ".ctor") return (ms[i] as ConstructorInfo).Invoke(invokeArgs2);
1057
+ return ms[i].Invoke(target, (BindingFlags)invokeAttr, null, invokeArgs2, null);
1058
+ }
1059
+ }
1060
+ }
1061
+
1062
+ for (int i = 0; i < ms.Length; i++)
1063
+ {
1064
+ if ((ms[i].Name != methodName) || ms[i].IsGenericMethod) continue;
1065
+
1066
+ var parameters = ms[i].GetParameters();
1067
+ if (parameters.Length > argArrayList.Count)
1068
+ {
1069
+ failed = false;
1070
+ for (int k = 0; k < argArrayList.Count; k++)
1071
+ {
1072
+ var paramType = parameters[k].ParameterType;
1073
+ Type nullableUnderlyingType = Nullable.GetUnderlyingType(paramType);
1074
+ if (argArrayList[k] == null)
1075
+ {
1076
+ if (!paramType.IsValueType || nullableUnderlyingType != null)
1077
+ continue;
1078
+
1079
+ failed = true;
1080
+ break;
1081
+ }
1082
+
1083
+ if (nullableUnderlyingType != null)
1084
+ {
1085
+ paramType = nullableUnderlyingType;
1086
+ }
1087
+
1088
+ var argType = argArrayList[k].GetType();
1089
+ if (paramType.IsAssignableFrom(argType)) continue;
1090
+
1091
+ Type enumType = null;
1092
+ if (paramType.IsEnum)
1093
+ {
1094
+ enumType = paramType;
1095
+ paramType = Enum.GetUnderlyingType(enumType);
1096
+ }
1097
+
1098
+ if (!paramType.IsAssignableFrom(argType))
1099
+ {
1100
+ if (typeof(Delegate).IsAssignableFrom(paramType) && (argType == null) || argType.IsCOMObject)
1101
+ {
1102
+ if (argType != null)
1103
+ {
1104
+ var dd = new DispatchableDelegate(argArrayList[k]);
1105
+ argArrayList[k] = (object)dd.CreateDelegate(paramType);
1106
+ }
1107
+ }
1108
+ else
1109
+ {
1110
+
1111
+ var paramTypeCode = Type.GetTypeCode(paramType);
1112
+ var argTypeCode = Type.GetTypeCode(argType);
1113
+
1114
+ if (argTypeCode == TypeCode.Double || argTypeCode == TypeCode.Int32)
1115
+ {
1116
+
1117
+ if (IsNumericType(paramType))
1118
+ {
1119
+ argArrayList[k] = Convert.ChangeType(argArrayList[k], paramType);
1120
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1121
+ continue;
1122
+ }
1123
+ else if (paramType == ColorType)
1124
+ {
1125
+ argArrayList[k] = ConvertNumToColor(argArrayList[k], argTypeCode);
1126
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1127
+ continue;
1128
+ }
1129
+ else if (paramType == IntPtrType && argTypeCode == TypeCode.Int32)
1130
+ {
1131
+ argArrayList[k] = new System.IntPtr((int)argArrayList[k]);
1132
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1133
+ continue;
1134
+ }
1135
+ else if (paramType == UIntPtrType && argTypeCode == TypeCode.Int32)
1136
+ {
1137
+ argArrayList[k] = new System.UIntPtr((uint)(int)argArrayList[k]);
1138
+ if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1139
+ continue;
1140
+ }
1141
+ }
1142
+ else if (paramType.IsArray && argType.IsArray)
1143
+ {
1144
+ var paramEleType = paramType.GetElementType();
1145
+ var argEleType = argType.GetElementType();
1146
+ var argEleTypeCode = Type.GetTypeCode(argEleType);
1147
+
1148
+ if ((argEleTypeCode == TypeCode.Double) && IsNumericType(paramEleType))
1149
+ {
1150
+
1151
+ var srcArr = (argArrayList[k] as double[]);
1152
+ var dstArr = Array.CreateInstance(paramEleType, srcArr.Length);
1153
+ for (int n = 0; n < srcArr.Length; n++)
1154
+ {
1155
+ dstArr.SetValue(Convert.ChangeType(srcArr[n], paramEleType), n);
1156
+ }
1157
+
1158
+ argArrayList[k] = dstArr;
1159
+ continue;
1160
+ }
1161
+
1162
+ }
1163
+
1164
+ failed = true;
1165
+ break;
1166
+ }
1167
+ }
1168
+ else if (enumType != null && !(argType.IsEnum)) argArrayList[k] = Enum.ToObject(enumType, argArrayList[k]);
1169
+ }
1170
+
1171
+ ArrayList argList2 = argArrayList.Clone() as ArrayList;
1172
+ for (int k = argArrayList.Count; k < parameters.Length; k++)
1173
+ {
1174
+ if (!parameters[k].IsOptional)
1175
+ {
1176
+ failed = true;
1177
+ break;
1178
+ }
1179
+
1180
+ argList2.Add(parameters[k].DefaultValue);
1181
+ }
1182
+
1183
+ if (!failed)
1184
+ {
1185
+ invokeArgs2 = argList2.ToArray();
1186
+ if (methodName == ".ctor") return (ms[i] as ConstructorInfo).Invoke(invokeArgs2);
1187
+ return ms[i].Invoke(target, (BindingFlags)invokeAttr, null, invokeArgs2, null);
1188
+ }
1189
+ }
1190
+ }
1191
+
1192
+ for (int i = 0; i < ms.Length; i++)
1193
+ {
1194
+ if (ms[i] is MethodInfo method) {
1195
+ var methodParameters = method.GetParameters();
1196
+ if (method.Name == methodName && argArrayList.Count <= methodParameters.Length)
1197
+ {
1198
+ if (!method.IsGenericMethod) continue;
1199
+
1200
+ var genericArguments = method.GetGenericArguments();
1201
+ var genericParameters = new Type[genericArguments.Length];
1202
+ int genericArgumentIndex;
1203
+
1204
+ for (int k = 0; k < argArrayList.Count; k++)
1205
+ {
1206
+ var argType = argArrayList[k].GetType();
1207
+ genericArgumentIndex = Array.IndexOf(genericArguments, methodParameters[k].ParameterType);
1208
+
1209
+ if (genericArgumentIndex == -1) continue;
1210
+ genericParameters[genericArgumentIndex] = argType;
1211
+ }
1212
+
1213
+ if (Array.IndexOf(genericParameters, null) != -1)
1214
+ {
1215
+ continue;
1216
+ }
1217
+
1218
+ if (argArrayList.Count < methodParameters.Length )
1219
+ {
1220
+
1221
+ ArrayList argList2 = argArrayList.Clone() as ArrayList;
1222
+ bool isOptionalFailed = false;
1223
+ for (int k = argArrayList.Count; k < methodParameters.Length; k++)
1224
+ {
1225
+ if (!methodParameters[k].IsOptional)
1226
+ {
1227
+ isOptionalFailed = true;
1228
+ break;
1229
+ }
1230
+
1231
+ argList2.Add(methodParameters[k].DefaultValue);
1232
+ }
1233
+ if (isOptionalFailed) continue;
1234
+
1235
+ var concreteMethod = method.MakeGenericMethod(genericParameters);
1236
+
1237
+ failed = false;
1238
+ invokeArgs2 = argList2.ToArray();
1239
+ return concreteMethod.Invoke(target, (BindingFlags)invokeAttr, null, invokeArgs2, null);
1240
+ }
1241
+ else
1242
+ {
1243
+ var concreteMethod = method.MakeGenericMethod(genericParameters);
1244
+
1245
+ failed = false;
1246
+ invokeArgs2 = argArrayList.ToArray();
1247
+ return concreteMethod.Invoke(target, (BindingFlags)invokeAttr, null, invokeArgs2, null);
1248
+ }
1249
+ }
1250
+ }
1251
+ }
1252
+
1253
+
1254
+ for (int i = 0; i < ms.Length; i++)
1255
+ {
1256
+ if (ms[i].Name == methodName && ms[i].GetParameters().Length == argArrayList.Count)
1257
+ {
1258
+ if (!ms[i].IsGenericMethod)
1259
+ {
1260
+ failed = false;
1261
+ invokeArgs2 = argArrayList.ToArray();
1262
+ if (methodName == ".ctor") return (ms[i] as ConstructorInfo).Invoke(invokeArgs2);
1263
+ return ms[i].Invoke(target, (BindingFlags)invokeAttr, null, invokeArgs2, null);
1264
+ }
1265
+ }
1266
+ }
1267
+
1268
+
1269
+ failed = true;
1270
+ return null;
1271
+ }
1272
+
1273
+ public Object InvokeEnumValue(object enumType, string methodName)
1274
+ {
1275
+ return System.Enum.Parse(enumType as Type, methodName);
1276
+ }
1277
+
1278
+
1279
+
1280
+ public Object InvokeEnumType(object assemblyName, string nameSpace, string enumTypeName)
1281
+ {
1282
+ Assembly assembly = assemblyName as Assembly;
1283
+ if (assembly == null)
1284
+ {
1285
+ assembly = this.loadAssembly(assemblyName as string);
1286
+ }
1287
+ if (assembly != null)
1288
+ {
1289
+ string fullTypeName = null;
1290
+ if (nameSpace != null)
1291
+ {
1292
+ try
1293
+ {
1294
+ Type nsType = assembly.GetType(nameSpace);
1295
+ if (nsType.IsClass)
1296
+ {
1297
+ fullTypeName = nameSpace + "+" + enumTypeName;
1298
+ }
1299
+ else
1300
+ {
1301
+ fullTypeName = nameSpace + "." + enumTypeName;
1302
+ }
1303
+ }
1304
+ catch (SystemException)
1305
+ {
1306
+ fullTypeName = nameSpace + "." + enumTypeName;
1307
+ }
1308
+ }
1309
+
1310
+ Type t = assembly.GetType(fullTypeName);
1311
+ if (t.IsEnum)
1312
+ {
1313
+ return t as object;
1314
+ }
1315
+ }
1316
+ return null;
1317
+ }
1318
+
1319
+
1320
+ public Object ParseEnum(object assemblyName, string nameSpace, string enumTypeName, string methodName)
1321
+ {
1322
+ Assembly assembly = assemblyName as Assembly;
1323
+ if (assembly == null)
1324
+ {
1325
+ assembly = this.loadAssembly(assemblyName as string);
1326
+ }
1327
+ if (assembly != null)
1328
+ {
1329
+ string fullTypeName = null;
1330
+ if (nameSpace != null)
1331
+ {
1332
+ try
1333
+ {
1334
+ Type nsType = assembly.GetType(nameSpace);
1335
+ if (nsType.IsClass)
1336
+ {
1337
+ fullTypeName = nameSpace + "+" + enumTypeName;
1338
+ }
1339
+ else
1340
+ {
1341
+ fullTypeName = nameSpace + "." + enumTypeName;
1342
+ }
1343
+ }
1344
+ catch (SystemException)
1345
+ {
1346
+ fullTypeName = nameSpace + "." + enumTypeName;
1347
+ }
1348
+ }
1349
+
1350
+ Type t = assembly.GetType(fullTypeName);
1351
+ if (t.IsEnum)
1352
+ {
1353
+ return System.Enum.Parse(t, methodName);
1354
+ }
1355
+ }
1356
+ return null;
1357
+ }
1358
+
1359
+ public Assembly loadAssembly(string assemblyName)
1360
+ {
1361
+ try
1362
+ {
1363
+ Assembly assembly = Assembly.LoadWithPartialName(assemblyName);
1364
+ Assembly result = assembly;
1365
+ return result;
1366
+ }
1367
+ catch (SystemException)
1368
+ {
1369
+ }
1370
+ try
1371
+ {
1372
+ Assembly assembly2 = Assembly.Load(AssemblyName.GetAssemblyName(assemblyName));
1373
+ Assembly result = assembly2;
1374
+ return result;
1375
+ }
1376
+ catch (SystemException)
1377
+ {
1378
+ }
1379
+ try
1380
+ {
1381
+ Assembly assembly3 = Assembly.LoadFrom(assemblyName);
1382
+ Assembly result = assembly3;
1383
+ return result;
1384
+ }
1385
+ catch (SystemException)
1386
+ {
1387
+ }
1388
+ try
1389
+ {
1390
+ Assembly assembly4 = Assembly.LoadFile(assemblyName);
1391
+ Assembly result = assembly4;
1392
+ return result;
1393
+ }
1394
+ catch (SystemException)
1395
+ {
1396
+ }
1397
+ return null;
1398
+ }
1399
+
1400
+ public class NameValue<TK,TV>
1401
+ {
1402
+ public TK Name { get; private set; }
1403
+ public TV Value { get; private set; }
1404
+ public NameValue(TK name, TV value)
1405
+ {
1406
+ Name = name;
1407
+ Value = value;
1408
+ }
1409
+ }
1410
+
1411
+ [ ComVisible(false)]
1412
+ private object NameValueList2(object nameList, object valueList)
1413
+ {
1414
+ if (nameList is DispatchableObject n) nameList = n.Value;
1415
+ if (valueList is DispatchableObject v) valueList = v.Value;
1416
+
1417
+ Array names = (nameList as Array);
1418
+ Array values = (valueList as Array);
1419
+
1420
+ Type NameValueConstructed = typeof(NameValue<,>).MakeGenericType(new Type[] { names.GetValue(0).GetType(), values.GetValue(0).GetType() });
1421
+ Type NameValueListConstructed = typeof(List<>).MakeGenericType(new Type[] { NameValueConstructed });
1422
+
1423
+ IList o = (IList)Activator.CreateInstance(NameValueListConstructed);
1424
+
1425
+ for (int i = 0; i < names.Length; i++)
1426
+ {
1427
+ o.Add( Activator.CreateInstance(NameValueConstructed, new object[] { names.GetValue(i), values.GetValue(i) }));
1428
+ }
1429
+
1430
+ return o;
1431
+ }
1432
+
1433
+ public object NameValueList(object nameList,object valueList)
1434
+ {
1435
+
1436
+ return NameValueList2(nameList, valueList);
1437
+ }
1438
+
1439
+ public void ReopenConsole(bool utf8)
1440
+ {
1441
+ if(utf8){
1442
+ TextWriter writer = new StreamWriter(Console.OpenStandardOutput())
1443
+ { AutoFlush = true };
1444
+ Console.SetOut(writer);
1445
+
1446
+ TextWriter writerErr = new StreamWriter(Console.OpenStandardError())
1447
+ { AutoFlush = true };
1448
+ Console.SetError(writerErr);
1449
+
1450
+ TextReader reader = new StreamReader(Console.OpenStandardInput());
1451
+ Console.SetIn(reader);
1452
+ }
1453
+ else {
1454
+ TextWriter writer = new StreamWriter(Console.OpenStandardOutput(),System.Text.Encoding.Default )
1455
+ { AutoFlush = true };
1456
+ Console.SetOut(writer);
1457
+
1458
+ TextWriter writerErr = new StreamWriter(Console.OpenStandardError(),System.Text.Encoding.Default )
1459
+ { AutoFlush = true };
1460
+ Console.SetError(writerErr);
1461
+
1462
+ TextReader reader = new StreamReader(Console.OpenStandardInput(),System.Text.Encoding.Default );
1463
+ Console.SetIn(reader);
1464
+ }
1465
+
1466
+ }
1467
+
1468
+ }
1469
+ }