/// <summary> /// Returns true if this object is pointing to the same task runner as |that| /// object. /// </summary> public bool IsSame(CefTaskRunner that) { return cef_task_runner_t.is_same(_self, that.ToNative()) != 0; }
/// <summary> /// Returns true if this object is pointing to the same task runner as |that| /// object. /// </summary> public bool IsSame(CefTaskRunner that) { return(cef_task_runner_t.is_same(_self, that.ToNative()) != 0); }
/// <summary> /// Returns the task runner for the current thread. Only CEF threads will have /// task runners. An empty reference will be returned if this method is called /// on an invalid thread. /// </summary> public static CefTaskRunner GetForCurrentThread() { return(CefTaskRunner.FromNativeOrNull(cef_task_runner_t.get_for_current_thread())); }
/// <summary> /// Returns the task runner for the specified CEF thread. /// </summary> public static CefTaskRunner GetForThread(CefThreadId threadId) { return(CefTaskRunner.FromNativeOrNull(cef_task_runner_t.get_for_thread(threadId))); }
/// <summary> /// Returns the task runner associated with this context. V8 handles can only /// be accessed from the thread on which they are created. This method can be /// called on any render process thread. /// </summary> public CefTaskRunner GetTaskRunner() { return(CefTaskRunner.FromNative( cef_v8context_t.get_task_runner(_self) )); }