123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <Type Name="UnixMainLoop" FullName="Mono.Terminal.UnixMainLoop">
- <TypeSignature Language="C#" Value="public class UnixMainLoop : Mono.Terminal.IMainLoopDriver" />
- <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UnixMainLoop extends System.Object implements class Mono.Terminal.IMainLoopDriver" />
- <AssemblyInfo>
- <AssemblyName>Terminal.Gui</AssemblyName>
- <AssemblyVersion>1.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Base>
- <BaseTypeName>System.Object</BaseTypeName>
- </Base>
- <Interfaces>
- <Interface>
- <InterfaceName>Mono.Terminal.IMainLoopDriver</InterfaceName>
- </Interface>
- </Interfaces>
- <Docs>
- <summary>
- Unix main loop, suitable for using on Posix systems
- </summary>
- <remarks>
- In addition to the general functions of the mainloop, the Unix version
- can watch file descriptors using the AddWatch methods.
- </remarks>
- </Docs>
- <Members>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public UnixMainLoop ();" />
- <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
- <MemberType>Constructor</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Parameters />
- <Docs>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
- <Member MemberName="AddWatch">
- <MemberSignature Language="C#" Value="public object AddWatch (int fileDescriptor, Mono.Terminal.UnixMainLoop.Condition condition, Func<Mono.Terminal.MainLoop,bool> callback);" />
- <MemberSignature Language="ILAsm" Value=".method public hidebysig instance object AddWatch(int32 fileDescriptor, valuetype Mono.Terminal.UnixMainLoop/Condition condition, class System.Func`2<class Mono.Terminal.MainLoop, bool> callback) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ReturnValue>
- <ReturnType>System.Object</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="fileDescriptor" Type="System.Int32" />
- <Parameter Name="condition" Type="Mono.Terminal.UnixMainLoop+Condition" />
- <Parameter Name="callback" Type="System.Func<Mono.Terminal.MainLoop,System.Boolean>" />
- </Parameters>
- <Docs>
- <param name="fileDescriptor">To be added.</param>
- <param name="condition">To be added.</param>
- <param name="callback">To be added.</param>
- <summary>
- Watches a file descriptor for activity.
- </summary>
- <returns>To be added.</returns>
- <remarks>
- When the condition is met, the provided callback
- is invoked. If the callback returns false, the
- watch is automatically removed.
-
- The return value is a token that represents this watch, you can
- use this token to remove the watch by calling RemoveWatch.
- </remarks>
- </Docs>
- </Member>
- <Member MemberName="Mono.Terminal.IMainLoopDriver.EventsPending">
- <MemberSignature Language="C#" Value="bool IMainLoopDriver.EventsPending (bool wait);" />
- <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool Mono.Terminal.IMainLoopDriver.EventsPending(bool wait) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ReturnValue>
- <ReturnType>System.Boolean</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="wait" Type="System.Boolean" />
- </Parameters>
- <Docs>
- <param name="wait">To be added.</param>
- <summary>To be added.</summary>
- <returns>To be added.</returns>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
- <Member MemberName="Mono.Terminal.IMainLoopDriver.MainIteration">
- <MemberSignature Language="C#" Value="void IMainLoopDriver.MainIteration ();" />
- <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Mono.Terminal.IMainLoopDriver.MainIteration() cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <Parameters />
- <Docs>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
- <Member MemberName="Mono.Terminal.IMainLoopDriver.Setup">
- <MemberSignature Language="C#" Value="void IMainLoopDriver.Setup (Mono.Terminal.MainLoop mainLoop);" />
- <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Mono.Terminal.IMainLoopDriver.Setup(class Mono.Terminal.MainLoop mainLoop) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="mainLoop" Type="Mono.Terminal.MainLoop" />
- </Parameters>
- <Docs>
- <param name="mainLoop">To be added.</param>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
- <Member MemberName="Mono.Terminal.IMainLoopDriver.Wakeup">
- <MemberSignature Language="C#" Value="void IMainLoopDriver.Wakeup ();" />
- <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Mono.Terminal.IMainLoopDriver.Wakeup() cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <Parameters />
- <Docs>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
- <Member MemberName="RemoveWatch">
- <MemberSignature Language="C#" Value="public void RemoveWatch (object token);" />
- <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveWatch(object token) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="token" Type="System.Object" />
- </Parameters>
- <Docs>
- <param name="token">To be added.</param>
- <summary>
- Removes an active watch from the mainloop.
- </summary>
- <remarks>
- The token parameter is the value returned from AddWatch
- </remarks>
- </Docs>
- </Member>
- </Members>
- </Type>
|