Terminal.Gui.TextValidateProviders.TextRegexProvider.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class TextRegexProvider
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class TextRegexProvider
  11. ">
  12. <meta name="generator" content="docfx 2.56.7.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <meta property="docfx:navrel" content="../../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider">
  73. <h1 id="Terminal_Gui_TextValidateProviders_TextRegexProvider" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider" class="text-break">Class TextRegexProvider
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Regex Provider for TextValidateField.
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><span class="xref">System.Object</span></div>
  82. <div class="level1"><span class="xref">TextRegexProvider</span></div>
  83. </div>
  84. <div classs="implements">
  85. <h5>Implements</h5>
  86. <div><a class="xref" href="Terminal.Gui.TextValidateProviders.ITextValidateProvider.html">ITextValidateProvider</a></div>
  87. </div>
  88. <div class="inheritedMembers">
  89. <h5>Inherited Members</h5>
  90. <div>
  91. <span class="xref">System.Object.Equals(System.Object)</span>
  92. </div>
  93. <div>
  94. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  95. </div>
  96. <div>
  97. <span class="xref">System.Object.GetHashCode()</span>
  98. </div>
  99. <div>
  100. <span class="xref">System.Object.GetType()</span>
  101. </div>
  102. <div>
  103. <span class="xref">System.Object.MemberwiseClone()</span>
  104. </div>
  105. <div>
  106. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  107. </div>
  108. <div>
  109. <span class="xref">System.Object.ToString()</span>
  110. </div>
  111. </div>
  112. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.TextValidateProviders.html">Terminal.Gui.TextValidateProviders</a></h6>
  113. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  114. <h5 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_syntax">Syntax</h5>
  115. <div class="codewrapper">
  116. <pre><code class="lang-csharp hljs">public class TextRegexProvider : ITextValidateProvider</code></pre>
  117. </div>
  118. <h3 id="constructors">Constructors
  119. </h3>
  120. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider__ctor_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor*"></a>
  121. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider__ctor" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor">TextRegexProvider()</h4>
  122. <div class="markdown level1 summary">
  123. Empty Constructor
  124. </div>
  125. <div class="markdown level1 conceptual"></div>
  126. <h5 class="decalaration">Declaration</h5>
  127. <div class="codewrapper">
  128. <pre><code class="lang-csharp hljs">public TextRegexProvider()</code></pre>
  129. </div>
  130. <h3 id="properties">Properties
  131. </h3>
  132. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Fixed_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Fixed*"></a>
  133. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Fixed" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Fixed">Fixed</h4>
  134. <div class="markdown level1 summary">
  135. Set that this provider uses a fixed width.
  136. e.g. Masked ones are fixed.
  137. </div>
  138. <div class="markdown level1 conceptual"></div>
  139. <h5 class="decalaration">Declaration</h5>
  140. <div class="codewrapper">
  141. <pre><code class="lang-csharp hljs">public bool Fixed { get; }</code></pre>
  142. </div>
  143. <h5 class="propertyValue">Property Value</h5>
  144. <table class="table table-bordered table-striped table-condensed">
  145. <thead>
  146. <tr>
  147. <th>Type</th>
  148. <th>Description</th>
  149. </tr>
  150. </thead>
  151. <tbody>
  152. <tr>
  153. <td><span class="xref">System.Boolean</span></td>
  154. <td></td>
  155. </tr>
  156. </tbody>
  157. </table>
  158. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_IsValid_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.IsValid*"></a>
  159. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_IsValid" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.IsValid">IsValid</h4>
  160. <div class="markdown level1 summary">
  161. True if the input is valid, otherwise false.
  162. </div>
  163. <div class="markdown level1 conceptual"></div>
  164. <h5 class="decalaration">Declaration</h5>
  165. <div class="codewrapper">
  166. <pre><code class="lang-csharp hljs">public bool IsValid { get; }</code></pre>
  167. </div>
  168. <h5 class="propertyValue">Property Value</h5>
  169. <table class="table table-bordered table-striped table-condensed">
  170. <thead>
  171. <tr>
  172. <th>Type</th>
  173. <th>Description</th>
  174. </tr>
  175. </thead>
  176. <tbody>
  177. <tr>
  178. <td><span class="xref">System.Boolean</span></td>
  179. <td></td>
  180. </tr>
  181. </tbody>
  182. </table>
  183. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Mask_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Mask*"></a>
  184. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Mask" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Mask">Mask</h4>
  185. <div class="markdown level1 summary">
  186. Mask used for validation.
  187. Not always a mask, can by a regex expression.
  188. TODO: Maybe we can change the name.
  189. </div>
  190. <div class="markdown level1 conceptual"></div>
  191. <h5 class="decalaration">Declaration</h5>
  192. <div class="codewrapper">
  193. <pre><code class="lang-csharp hljs">public ustring Mask { get; set; }</code></pre>
  194. </div>
  195. <h5 class="propertyValue">Property Value</h5>
  196. <table class="table table-bordered table-striped table-condensed">
  197. <thead>
  198. <tr>
  199. <th>Type</th>
  200. <th>Description</th>
  201. </tr>
  202. </thead>
  203. <tbody>
  204. <tr>
  205. <td><span class="xref">NStack.ustring</span></td>
  206. <td></td>
  207. </tr>
  208. </tbody>
  209. </table>
  210. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Text_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Text*"></a>
  211. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Text" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Text">Text</h4>
  212. <div class="markdown level1 summary">
  213. Set the input text, and get the formatted string for display.
  214. </div>
  215. <div class="markdown level1 conceptual"></div>
  216. <h5 class="decalaration">Declaration</h5>
  217. <div class="codewrapper">
  218. <pre><code class="lang-csharp hljs">public ustring Text { get; set; }</code></pre>
  219. </div>
  220. <h5 class="propertyValue">Property Value</h5>
  221. <table class="table table-bordered table-striped table-condensed">
  222. <thead>
  223. <tr>
  224. <th>Type</th>
  225. <th>Description</th>
  226. </tr>
  227. </thead>
  228. <tbody>
  229. <tr>
  230. <td><span class="xref">NStack.ustring</span></td>
  231. <td></td>
  232. </tr>
  233. </tbody>
  234. </table>
  235. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_ValidateOnInput_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.ValidateOnInput*"></a>
  236. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_ValidateOnInput" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.ValidateOnInput">ValidateOnInput</h4>
  237. <div class="markdown level1 summary">
  238. When true, validates with the regex pattern on each input, preventing the input if it&apos;s not valid.
  239. </div>
  240. <div class="markdown level1 conceptual"></div>
  241. <h5 class="decalaration">Declaration</h5>
  242. <div class="codewrapper">
  243. <pre><code class="lang-csharp hljs">public bool ValidateOnInput { get; set; }</code></pre>
  244. </div>
  245. <h5 class="propertyValue">Property Value</h5>
  246. <table class="table table-bordered table-striped table-condensed">
  247. <thead>
  248. <tr>
  249. <th>Type</th>
  250. <th>Description</th>
  251. </tr>
  252. </thead>
  253. <tbody>
  254. <tr>
  255. <td><span class="xref">System.Boolean</span></td>
  256. <td></td>
  257. </tr>
  258. </tbody>
  259. </table>
  260. <h3 id="methods">Methods
  261. </h3>
  262. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Cursor_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Cursor*"></a>
  263. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Cursor_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Cursor(System.Int32)">Cursor(Int32)</h4>
  264. <div class="markdown level1 summary">
  265. Set Cursor position to <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  266. </div>
  267. <div class="markdown level1 conceptual"></div>
  268. <h5 class="decalaration">Declaration</h5>
  269. <div class="codewrapper">
  270. <pre><code class="lang-csharp hljs">public int Cursor(int pos)</code></pre>
  271. </div>
  272. <h5 class="parameters">Parameters</h5>
  273. <table class="table table-bordered table-striped table-condensed">
  274. <thead>
  275. <tr>
  276. <th>Type</th>
  277. <th>Name</th>
  278. <th>Description</th>
  279. </tr>
  280. </thead>
  281. <tbody>
  282. <tr>
  283. <td><span class="xref">System.Int32</span></td>
  284. <td><span class="parametername">pos</span></td>
  285. <td></td>
  286. </tr>
  287. </tbody>
  288. </table>
  289. <h5 class="returns">Returns</h5>
  290. <table class="table table-bordered table-striped table-condensed">
  291. <thead>
  292. <tr>
  293. <th>Type</th>
  294. <th>Description</th>
  295. </tr>
  296. </thead>
  297. <tbody>
  298. <tr>
  299. <td><span class="xref">System.Int32</span></td>
  300. <td>Return first valid position.</td>
  301. </tr>
  302. </tbody>
  303. </table>
  304. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorEnd_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorEnd*"></a>
  305. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorEnd" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorEnd">CursorEnd()</h4>
  306. <div class="markdown level1 summary">
  307. Find the last valid character position.
  308. </div>
  309. <div class="markdown level1 conceptual"></div>
  310. <h5 class="decalaration">Declaration</h5>
  311. <div class="codewrapper">
  312. <pre><code class="lang-csharp hljs">public int CursorEnd()</code></pre>
  313. </div>
  314. <h5 class="returns">Returns</h5>
  315. <table class="table table-bordered table-striped table-condensed">
  316. <thead>
  317. <tr>
  318. <th>Type</th>
  319. <th>Description</th>
  320. </tr>
  321. </thead>
  322. <tbody>
  323. <tr>
  324. <td><span class="xref">System.Int32</span></td>
  325. <td>New cursor position.</td>
  326. </tr>
  327. </tbody>
  328. </table>
  329. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorLeft_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorLeft*"></a>
  330. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorLeft_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorLeft(System.Int32)">CursorLeft(Int32)</h4>
  331. <div class="markdown level1 summary">
  332. First valid position before <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  333. </div>
  334. <div class="markdown level1 conceptual"></div>
  335. <h5 class="decalaration">Declaration</h5>
  336. <div class="codewrapper">
  337. <pre><code class="lang-csharp hljs">public int CursorLeft(int pos)</code></pre>
  338. </div>
  339. <h5 class="parameters">Parameters</h5>
  340. <table class="table table-bordered table-striped table-condensed">
  341. <thead>
  342. <tr>
  343. <th>Type</th>
  344. <th>Name</th>
  345. <th>Description</th>
  346. </tr>
  347. </thead>
  348. <tbody>
  349. <tr>
  350. <td><span class="xref">System.Int32</span></td>
  351. <td><span class="parametername">pos</span></td>
  352. <td></td>
  353. </tr>
  354. </tbody>
  355. </table>
  356. <h5 class="returns">Returns</h5>
  357. <table class="table table-bordered table-striped table-condensed">
  358. <thead>
  359. <tr>
  360. <th>Type</th>
  361. <th>Description</th>
  362. </tr>
  363. </thead>
  364. <tbody>
  365. <tr>
  366. <td><span class="xref">System.Int32</span></td>
  367. <td>New cursor position if any, otherwise returns <code data-dev-comment-type="paramref" class="paramref">pos</code></td>
  368. </tr>
  369. </tbody>
  370. </table>
  371. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorRight_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorRight*"></a>
  372. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorRight_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorRight(System.Int32)">CursorRight(Int32)</h4>
  373. <div class="markdown level1 summary">
  374. First valid position after <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  375. </div>
  376. <div class="markdown level1 conceptual"></div>
  377. <h5 class="decalaration">Declaration</h5>
  378. <div class="codewrapper">
  379. <pre><code class="lang-csharp hljs">public int CursorRight(int pos)</code></pre>
  380. </div>
  381. <h5 class="parameters">Parameters</h5>
  382. <table class="table table-bordered table-striped table-condensed">
  383. <thead>
  384. <tr>
  385. <th>Type</th>
  386. <th>Name</th>
  387. <th>Description</th>
  388. </tr>
  389. </thead>
  390. <tbody>
  391. <tr>
  392. <td><span class="xref">System.Int32</span></td>
  393. <td><span class="parametername">pos</span></td>
  394. <td>Current position.</td>
  395. </tr>
  396. </tbody>
  397. </table>
  398. <h5 class="returns">Returns</h5>
  399. <table class="table table-bordered table-striped table-condensed">
  400. <thead>
  401. <tr>
  402. <th>Type</th>
  403. <th>Description</th>
  404. </tr>
  405. </thead>
  406. <tbody>
  407. <tr>
  408. <td><span class="xref">System.Int32</span></td>
  409. <td>New cursor position if any, otherwise returns <code data-dev-comment-type="paramref" class="paramref">pos</code></td>
  410. </tr>
  411. </tbody>
  412. </table>
  413. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorStart_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorStart*"></a>
  414. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorStart" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorStart">CursorStart()</h4>
  415. <div class="markdown level1 summary">
  416. Find the first valid character position.
  417. </div>
  418. <div class="markdown level1 conceptual"></div>
  419. <h5 class="decalaration">Declaration</h5>
  420. <div class="codewrapper">
  421. <pre><code class="lang-csharp hljs">public int CursorStart()</code></pre>
  422. </div>
  423. <h5 class="returns">Returns</h5>
  424. <table class="table table-bordered table-striped table-condensed">
  425. <thead>
  426. <tr>
  427. <th>Type</th>
  428. <th>Description</th>
  429. </tr>
  430. </thead>
  431. <tbody>
  432. <tr>
  433. <td><span class="xref">System.Int32</span></td>
  434. <td>New cursor position.</td>
  435. </tr>
  436. </tbody>
  437. </table>
  438. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Delete_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Delete*"></a>
  439. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Delete_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Delete(System.Int32)">Delete(Int32)</h4>
  440. <div class="markdown level1 summary">
  441. Deletes the current character in <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  442. </div>
  443. <div class="markdown level1 conceptual"></div>
  444. <h5 class="decalaration">Declaration</h5>
  445. <div class="codewrapper">
  446. <pre><code class="lang-csharp hljs">public bool Delete(int pos)</code></pre>
  447. </div>
  448. <h5 class="parameters">Parameters</h5>
  449. <table class="table table-bordered table-striped table-condensed">
  450. <thead>
  451. <tr>
  452. <th>Type</th>
  453. <th>Name</th>
  454. <th>Description</th>
  455. </tr>
  456. </thead>
  457. <tbody>
  458. <tr>
  459. <td><span class="xref">System.Int32</span></td>
  460. <td><span class="parametername">pos</span></td>
  461. <td></td>
  462. </tr>
  463. </tbody>
  464. </table>
  465. <h5 class="returns">Returns</h5>
  466. <table class="table table-bordered table-striped table-condensed">
  467. <thead>
  468. <tr>
  469. <th>Type</th>
  470. <th>Description</th>
  471. </tr>
  472. </thead>
  473. <tbody>
  474. <tr>
  475. <td><span class="xref">System.Boolean</span></td>
  476. <td>true if the character was successfully removed, otherwise false.</td>
  477. </tr>
  478. </tbody>
  479. </table>
  480. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_InsertAt_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.InsertAt*"></a>
  481. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_InsertAt_System_Char_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.InsertAt(System.Char,System.Int32)">InsertAt(Char, Int32)</h4>
  482. <div class="markdown level1 summary">
  483. Insert character <code data-dev-comment-type="paramref" class="paramref">ch</code> in position <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  484. </div>
  485. <div class="markdown level1 conceptual"></div>
  486. <h5 class="decalaration">Declaration</h5>
  487. <div class="codewrapper">
  488. <pre><code class="lang-csharp hljs">public bool InsertAt(char ch, int pos)</code></pre>
  489. </div>
  490. <h5 class="parameters">Parameters</h5>
  491. <table class="table table-bordered table-striped table-condensed">
  492. <thead>
  493. <tr>
  494. <th>Type</th>
  495. <th>Name</th>
  496. <th>Description</th>
  497. </tr>
  498. </thead>
  499. <tbody>
  500. <tr>
  501. <td><span class="xref">System.Char</span></td>
  502. <td><span class="parametername">ch</span></td>
  503. <td></td>
  504. </tr>
  505. <tr>
  506. <td><span class="xref">System.Int32</span></td>
  507. <td><span class="parametername">pos</span></td>
  508. <td></td>
  509. </tr>
  510. </tbody>
  511. </table>
  512. <h5 class="returns">Returns</h5>
  513. <table class="table table-bordered table-striped table-condensed">
  514. <thead>
  515. <tr>
  516. <th>Type</th>
  517. <th>Description</th>
  518. </tr>
  519. </thead>
  520. <tbody>
  521. <tr>
  522. <td><span class="xref">System.Boolean</span></td>
  523. <td>true if the character was successfully inserted, otherwise false.</td>
  524. </tr>
  525. </tbody>
  526. </table>
  527. <h3 id="implements">Implements</h3>
  528. <div>
  529. <a class="xref" href="Terminal.Gui.TextValidateProviders.ITextValidateProvider.html">ITextValidateProvider</a>
  530. </div>
  531. </article>
  532. </div>
  533. <div class="hidden-sm col-md-2" role="complementary">
  534. <div class="sideaffix">
  535. <div class="contribution">
  536. <ul class="nav">
  537. </ul>
  538. </div>
  539. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  540. <h5>In This Article</h5>
  541. <div></div>
  542. </nav>
  543. </div>
  544. </div>
  545. </div>
  546. </div>
  547. <footer>
  548. <div class="grad-bottom"></div>
  549. <div class="footer">
  550. <div class="container">
  551. <span class="pull-right">
  552. <a href="#top">Back to top</a>
  553. </span>
  554. <span>Generated by <strong>DocFX</strong></span>
  555. </div>
  556. </div>
  557. </footer>
  558. </div>
  559. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  560. <script type="text/javascript" src="../../styles/docfx.js"></script>
  561. <script type="text/javascript" src="../../styles/main.js"></script>
  562. </body>
  563. </html>