ClearScript

How to Use
Last updated
Was this helpful?

Last updated
Was this helpful?
Was this helpful?
ScriptEngine engine;
engine = Wisej.Ext.ClearScript.ClearScript.Create(EngineType.JScript);
engine.AccessContext = GetType();
engine.AddHostObject("page", this);
engine.AddHostType("AlertBox", typeof(AlertBox));AlertBox.Show("Hello, World!");
page.Text = "Hello, World!";