I would like to expose an open method on my c# object that I am exposing to ClearScript. The open method signature would look like this
public void open(string address, Action<dynamic> callback)
{
if (callback != null)
{
callback("success");
}
}
And calling it from script like thispage.open('http://www.cnn.com', function(status) {
// do somthing here with status
});