Esempio n. 1
0
 /// <summary>
 /// Post an action for execution on the specified thread.
 /// </summary>
 /// <param name="threadId">thread id</param>
 /// <param name="action">action to execute</param>
 /// <returns>bool</returns>
 public static bool PostAction(CefThreadIds threadId, Action action)
 {
     return(Core.Cef.PostAction(threadId, action));
 }
Esempio n. 2
0
 /// <summary>
 /// Returns true if called on the specified CEF thread.
 /// </summary>
 /// <returns>Returns true if called on the specified thread.</returns>
 public static bool CurrentlyOnThread(CefThreadIds threadId)
 {
     return(Core.Cef.CurrentlyOnThread(threadId));
 }
Esempio n. 3
0
 /// <summary>
 /// Post an action for delayed execution on the specified thread.
 /// </summary>
 /// <param name="threadId">thread id</param>
 /// <param name="action">action to execute</param>
 /// <param name="delayInMs">delay in ms</param>
 /// <returns>bool</returns>
 public static bool PostDelayedAction(CefThreadIds threadId, Action action, int delayInMs)
 {
     return(Core.Cef.PostDelayedAction(threadId, action, delayInMs));
 }