C# Class Yaircc.UI.ChromiumMarshal

Represents the the Chromium marshal.
Afficher le fichier Open project: rastating/yaircc Class Usage Examples

Méthodes publiques

Méthode Description
BeginExport ( string fileName, CefSharp.WinForms.WebView webView ) : void

Begin exporting the chat log in webView to fileName

ChromiumMarshal ( System.Action initialisationAction, IRCTabPage owner ) : System

Initialises a new instance of the ChromiumMarshal class.

ExportHtml ( string fileName, string html ) : void

Export the html to fileName

InitialiseSubscribers ( ) : void

Invoke the initialisation action for the marshal subscribers.

InsertNickNameIntoMessage ( string nickName ) : void

Inserts the specified nick name into the input textbox.

JoinChannel ( string channelName ) : void

Joins the specified channel.

OpenUrl ( string url ) : void

Open a URL in the default browser.

Method Details

BeginExport() public static méthode

Begin exporting the chat log in webView to fileName
public static BeginExport ( string fileName, CefSharp.WinForms.WebView webView ) : void
fileName string The path to export the chat log to.
webView CefSharp.WinForms.WebView The WebView to export.
Résultat void

ChromiumMarshal() public méthode

Initialises a new instance of the ChromiumMarshal class.
public ChromiumMarshal ( System.Action initialisationAction, IRCTabPage owner ) : System
initialisationAction System.Action The action to invoke after the DOM has been loaded.
owner IRCTabPage The owning form.
Résultat System

ExportHtml() public méthode

Export the html to fileName
public ExportHtml ( string fileName, string html ) : void
fileName string The path to export the HTML to.
html string The HTML to export.
Résultat void

InitialiseSubscribers() public méthode

Invoke the initialisation action for the marshal subscribers.
public InitialiseSubscribers ( ) : void
Résultat void

InsertNickNameIntoMessage() public méthode

Inserts the specified nick name into the input textbox.
public InsertNickNameIntoMessage ( string nickName ) : void
nickName string The nick name to insert.
Résultat void

JoinChannel() public méthode

Joins the specified channel.
public JoinChannel ( string channelName ) : void
channelName string The channel to join.
Résultat void

OpenUrl() public méthode

Open a URL in the default browser.
public OpenUrl ( string url ) : void
url string The URL to open.
Résultat void