UnixMainLoop.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <Type Name="UnixMainLoop" FullName="Mono.Terminal.UnixMainLoop">
  2. <TypeSignature Language="C#" Value="public class UnixMainLoop : Mono.Terminal.IMainLoopDriver" />
  3. <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UnixMainLoop extends System.Object implements class Mono.Terminal.IMainLoopDriver" />
  4. <AssemblyInfo>
  5. <AssemblyName>Terminal.Gui</AssemblyName>
  6. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  7. </AssemblyInfo>
  8. <Base>
  9. <BaseTypeName>System.Object</BaseTypeName>
  10. </Base>
  11. <Interfaces>
  12. <Interface>
  13. <InterfaceName>Mono.Terminal.IMainLoopDriver</InterfaceName>
  14. </Interface>
  15. </Interfaces>
  16. <Docs>
  17. <summary>
  18. Unix main loop, suitable for using on Posix systems
  19. </summary>
  20. <remarks>
  21. In addition to the general functions of the mainloop, the Unix version
  22. can watch file descriptors using the AddWatch methods.
  23. </remarks>
  24. </Docs>
  25. <Members>
  26. <Member MemberName=".ctor">
  27. <MemberSignature Language="C#" Value="public UnixMainLoop ();" />
  28. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
  29. <MemberType>Constructor</MemberType>
  30. <AssemblyInfo>
  31. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  32. </AssemblyInfo>
  33. <Parameters />
  34. <Docs>
  35. <summary>To be added.</summary>
  36. <remarks>To be added.</remarks>
  37. </Docs>
  38. </Member>
  39. <Member MemberName="AddWatch">
  40. <MemberSignature Language="C#" Value="public object AddWatch (int fileDescriptor, Mono.Terminal.UnixMainLoop.Condition condition, Func&lt;Mono.Terminal.MainLoop,bool&gt; callback);" />
  41. <MemberSignature Language="ILAsm" Value=".method public hidebysig instance object AddWatch(int32 fileDescriptor, valuetype Mono.Terminal.UnixMainLoop/Condition condition, class System.Func`2&lt;class Mono.Terminal.MainLoop, bool&gt; callback) cil managed" />
  42. <MemberType>Method</MemberType>
  43. <AssemblyInfo>
  44. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  45. </AssemblyInfo>
  46. <ReturnValue>
  47. <ReturnType>System.Object</ReturnType>
  48. </ReturnValue>
  49. <Parameters>
  50. <Parameter Name="fileDescriptor" Type="System.Int32" />
  51. <Parameter Name="condition" Type="Mono.Terminal.UnixMainLoop+Condition" />
  52. <Parameter Name="callback" Type="System.Func&lt;Mono.Terminal.MainLoop,System.Boolean&gt;" />
  53. </Parameters>
  54. <Docs>
  55. <param name="fileDescriptor">To be added.</param>
  56. <param name="condition">To be added.</param>
  57. <param name="callback">To be added.</param>
  58. <summary>
  59. Watches a file descriptor for activity.
  60. </summary>
  61. <returns>To be added.</returns>
  62. <remarks>
  63. When the condition is met, the provided callback
  64. is invoked. If the callback returns false, the
  65. watch is automatically removed.
  66. The return value is a token that represents this watch, you can
  67. use this token to remove the watch by calling RemoveWatch.
  68. </remarks>
  69. </Docs>
  70. </Member>
  71. <Member MemberName="Mono.Terminal.IMainLoopDriver.EventsPending">
  72. <MemberSignature Language="C#" Value="bool IMainLoopDriver.EventsPending (bool wait);" />
  73. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool Mono.Terminal.IMainLoopDriver.EventsPending(bool wait) cil managed" />
  74. <MemberType>Method</MemberType>
  75. <AssemblyInfo>
  76. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  77. </AssemblyInfo>
  78. <ReturnValue>
  79. <ReturnType>System.Boolean</ReturnType>
  80. </ReturnValue>
  81. <Parameters>
  82. <Parameter Name="wait" Type="System.Boolean" />
  83. </Parameters>
  84. <Docs>
  85. <param name="wait">To be added.</param>
  86. <summary>To be added.</summary>
  87. <returns>To be added.</returns>
  88. <remarks>To be added.</remarks>
  89. </Docs>
  90. </Member>
  91. <Member MemberName="Mono.Terminal.IMainLoopDriver.MainIteration">
  92. <MemberSignature Language="C#" Value="void IMainLoopDriver.MainIteration ();" />
  93. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Mono.Terminal.IMainLoopDriver.MainIteration() cil managed" />
  94. <MemberType>Method</MemberType>
  95. <AssemblyInfo>
  96. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  97. </AssemblyInfo>
  98. <ReturnValue>
  99. <ReturnType>System.Void</ReturnType>
  100. </ReturnValue>
  101. <Parameters />
  102. <Docs>
  103. <summary>To be added.</summary>
  104. <remarks>To be added.</remarks>
  105. </Docs>
  106. </Member>
  107. <Member MemberName="Mono.Terminal.IMainLoopDriver.Setup">
  108. <MemberSignature Language="C#" Value="void IMainLoopDriver.Setup (Mono.Terminal.MainLoop mainLoop);" />
  109. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Mono.Terminal.IMainLoopDriver.Setup(class Mono.Terminal.MainLoop mainLoop) cil managed" />
  110. <MemberType>Method</MemberType>
  111. <AssemblyInfo>
  112. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  113. </AssemblyInfo>
  114. <ReturnValue>
  115. <ReturnType>System.Void</ReturnType>
  116. </ReturnValue>
  117. <Parameters>
  118. <Parameter Name="mainLoop" Type="Mono.Terminal.MainLoop" />
  119. </Parameters>
  120. <Docs>
  121. <param name="mainLoop">To be added.</param>
  122. <summary>To be added.</summary>
  123. <remarks>To be added.</remarks>
  124. </Docs>
  125. </Member>
  126. <Member MemberName="Mono.Terminal.IMainLoopDriver.Wakeup">
  127. <MemberSignature Language="C#" Value="void IMainLoopDriver.Wakeup ();" />
  128. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Mono.Terminal.IMainLoopDriver.Wakeup() cil managed" />
  129. <MemberType>Method</MemberType>
  130. <AssemblyInfo>
  131. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  132. </AssemblyInfo>
  133. <ReturnValue>
  134. <ReturnType>System.Void</ReturnType>
  135. </ReturnValue>
  136. <Parameters />
  137. <Docs>
  138. <summary>To be added.</summary>
  139. <remarks>To be added.</remarks>
  140. </Docs>
  141. </Member>
  142. <Member MemberName="RemoveWatch">
  143. <MemberSignature Language="C#" Value="public void RemoveWatch (object token);" />
  144. <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveWatch(object token) cil managed" />
  145. <MemberType>Method</MemberType>
  146. <AssemblyInfo>
  147. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  148. </AssemblyInfo>
  149. <ReturnValue>
  150. <ReturnType>System.Void</ReturnType>
  151. </ReturnValue>
  152. <Parameters>
  153. <Parameter Name="token" Type="System.Object" />
  154. </Parameters>
  155. <Docs>
  156. <param name="token">To be added.</param>
  157. <summary>
  158. Removes an active watch from the mainloop.
  159. </summary>
  160. <remarks>
  161. The token parameter is the value returned from AddWatch
  162. </remarks>
  163. </Docs>
  164. </Member>
  165. </Members>
  166. </Type>