App
이 콘텐츠는 아직 번역되지 않았습니다.
Namespace NetWiv · Assembly NetWiv.Core
public sealed class App : IDisposableProperties
Section titled “Properties”Handle
Section titled “Handle”public AppHandle Handle { get; }WebviewWindows
Section titled “WebviewWindows”public IReadOnlyCollection<WebviewWindow> WebviewWindows { get; }Webviews
Section titled “Webviews”public IReadOnlyCollection<Webview> Webviews { get; }Windows
Section titled “Windows”public IReadOnlyCollection<Window> Windows { get; }Methods
Section titled “Methods”AssetProtocolScope
Section titled “AssetProtocolScope”public FileScope AssetProtocolScope();Dispose
Section titled “Dispose”public void Dispose();public void Emit(string eventName, JsonElement payload);EmitTo
Section titled “EmitTo”public void EmitTo(RuntimeEventTarget target, string eventName, JsonElement payload);public void EmitTo(string label, string eventName, JsonElement payload);GetWebview
Section titled “GetWebview”public Webview GetWebview(string label);GetWebviewWindow
Section titled “GetWebviewWindow”public WebviewWindow GetWebviewWindow(string label);GetWindow
Section titled “GetWindow”public Window GetWindow(string label);Listen
Section titled “Listen”public IDisposable Listen(string eventName, Action<AppEvent> handler);ListenAny
Section titled “ListenAny”public IDisposable ListenAny(string eventName, Action<AppEvent> handler);Manage
Section titled “Manage”public bool Manage<T>(T value);OnMenuEvent
Section titled “OnMenuEvent”public void OnMenuEvent(Action<AppHandle, MenuEvent> handler);OnTrayIconEvent
Section titled “OnTrayIconEvent”public void OnTrayIconEvent(Action<AppHandle, TrayIconEvent> handler);public IDisposable Once(string eventName, Action<AppEvent> handler);OnceAny
Section titled “OnceAny”public IDisposable OnceAny(string eventName, Action<AppEvent> handler);public void Run();public State<T> State<T>();TryState
Section titled “TryState”public State<T>? TryState<T>();Unlisten
Section titled “Unlisten”public void Unlisten(long id);Unmanage
Section titled “Unmanage”public bool Unmanage<T>(out T value);