跳到主要内容
版本:Next

Struct CefBrowserInstance

Namespace: ReadyM.Cef
Assembly: ReadyM.Cef.dll

A browser, as a mod holds it: say what it should do, directly.

public readonly struct CefBrowserInstance

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks​

A handle and its host: every method curries Handle into the matching one on CefHost, and no state lives here.

NOTHING BLOCKS AND NOTHING CALLS BACK. CEF creates a browser asynchronously, so anything asked for before it exists is queued and run in order once it does.

Properties​

Handle​

Which browser this is, for the calls that take one: assigning it to a viewport, destroying it.

public BrowserHandle Handle { get; }

Property Value​

BrowserHandle

Methods​

Navigate(string)​

Points the browser at url, now or as soon as it exists.

public void Navigate(string url)

Parameters​

url string

Reload()​

Reloads whatever the browser is showing.

public void Reload()