C# Class Yaircc.UI.ChromiumMarshal

Represents the the Chromium marshal.
ファイルを表示 Open project: rastating/yaircc Class Usage Examples

Public Methods

Method 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 method

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.
return void

ChromiumMarshal() public method

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.
return System

ExportHtml() public method

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.
return void

InitialiseSubscribers() public method

Invoke the initialisation action for the marshal subscribers.
public InitialiseSubscribers ( ) : void
return void

InsertNickNameIntoMessage() public method

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

JoinChannel() public method

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

OpenUrl() public method

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