Terminal.Gui.Application.RunState.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 Application.RunState
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Application.RunState
  11. ">
  12. <meta name="generator" content="docfx 2.18.2.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="">
  18. <meta property="docfx:tocrel" content="../toc.html">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../../index.html">
  33. <img id="logo" class="svg" src="../../logo.svg" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div role="main" class="container body-content hide-when-search">
  54. <div class="sidenav hide-when-search">
  55. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  56. <div class="sidetoggle collapse" id="sidetoggle">
  57. <div id="sidetoc"></div>
  58. </div>
  59. </div>
  60. <div class="article row grid-right">
  61. <div class="col-md-10">
  62. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Application.RunState">
  63. <h1 id="Terminal_Gui_Application_RunState" data-uid="Terminal.Gui.Application.RunState">Class Application.RunState
  64. </h1>
  65. <div class="markdown level0 summary"><p>Captures the execution state for the provided TopLevel view.</p>
  66. </div>
  67. <div class="markdown level0 conceptual"></div>
  68. <div class="inheritance">
  69. <h5>Inheritance</h5>
  70. <div class="level0"><span class="xref">System.Object</span></div>
  71. <div class="level1"><span class="xref">Application.RunState</span></div>
  72. </div>
  73. <h6><strong>Namespace</strong>: <a class="xref" href="../Terminal.Gui.html">Terminal.Gui</a></h6>
  74. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  75. <h5 id="Terminal_Gui_Application_RunState_syntax">Syntax</h5>
  76. <div class="codewrapper">
  77. <pre><code class="lang-csharp hljs">public class Application.RunState : IDisposable</code></pre>
  78. </div>
  79. <h3 id="methods">Methods
  80. </h3>
  81. <a id="Terminal_Gui_Application_RunState_Dispose_" data-uid="Terminal.Gui.Application.RunState.Dispose*"></a>
  82. <h4 id="Terminal_Gui_Application_RunState_Dispose" data-uid="Terminal.Gui.Application.RunState.Dispose">Dispose()</h4>
  83. <div class="markdown level1 summary"><p>Releases all resource used by the <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> object.</p>
  84. </div>
  85. <div class="markdown level1 conceptual"></div>
  86. <h5 class="decalaration">Declaration</h5>
  87. <div class="codewrapper">
  88. <pre><code class="lang-csharp hljs">public void Dispose ();</code></pre>
  89. </div>
  90. <h5 id="Terminal_Gui_Application_RunState_Dispose_remarks">Remarks</h5>
  91. <div class="markdown level1 remarks"><p>Call <a class="xref" href="Terminal.Gui.Application.RunState.html#Terminal_Gui_Application_RunState_Dispose">Dispose()</a> when you are finished using the <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a>. The
  92. <a class="xref" href="Terminal.Gui.Application.RunState.html#Terminal_Gui_Application_RunState_Dispose">Dispose()</a> method leaves the <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> in an unusable state. After
  93. calling <a class="xref" href="Terminal.Gui.Application.RunState.html#Terminal_Gui_Application_RunState_Dispose">Dispose()</a>, you must release all references to the
  94. <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> so the garbage collector can reclaim the memory that the
  95. <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> was occupying.</p>
  96. </div>
  97. <a id="Terminal_Gui_Application_RunState_Dispose_" data-uid="Terminal.Gui.Application.RunState.Dispose*"></a>
  98. <h4 id="Terminal_Gui_Application_RunState_Dispose_System_Boolean_" data-uid="Terminal.Gui.Application.RunState.Dispose(System.Boolean)">Dispose(Boolean)</h4>
  99. <div class="markdown level1 summary"><p>Dispose the specified disposing.</p>
  100. </div>
  101. <div class="markdown level1 conceptual"></div>
  102. <h5 class="decalaration">Declaration</h5>
  103. <div class="codewrapper">
  104. <pre><code class="lang-csharp hljs">public virtual void Dispose (bool disposing);</code></pre>
  105. </div>
  106. <h5 class="parameters">Parameters</h5>
  107. <table class="table table-bordered table-striped table-condensed">
  108. <thead>
  109. <tr>
  110. <th>Type</th>
  111. <th>Name</th>
  112. <th>Description</th>
  113. </tr>
  114. </thead>
  115. <tbody>
  116. <tr>
  117. <td><span class="xref">System.Boolean</span></td>
  118. <td><span class="parametername">disposing</span></td>
  119. <td><p>If set to <code>true</code> disposing.</p>
  120. </td>
  121. </tr>
  122. </tbody>
  123. </table>
  124. </article>
  125. </div>
  126. <div class="hidden-sm col-md-2" role="complementary">
  127. <div class="sideaffix">
  128. <div class="contribution">
  129. <ul class="nav">
  130. </ul>
  131. </div>
  132. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  133. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  134. </nav>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. <footer>
  140. <div class="grad-bottom"></div>
  141. <div class="footer">
  142. <div class="container">
  143. <span class="pull-right">
  144. <a href="#top">Back to top</a>
  145. </span>
  146. <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
  147. </div>
  148. </div>
  149. </footer>
  150. </div>
  151. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  152. <script type="text/javascript" src="../../styles/docfx.js"></script>
  153. <script type="text/javascript" src="../../styles/main.js"></script>
  154. </body>
  155. </html>