コード例 #1
0
ファイル: JistPlugin.cs プロジェクト: Enerdy/Jist
		internal static void RequestExternalFunctions()
		{
			JavascriptFunctionsNeededEventArgs args = new JavascriptFunctionsNeededEventArgs(Instance);
			if (JavascriptFunctionsNeeded != null) {
				JavascriptFunctionsNeeded(Instance, args);
			}
		}
コード例 #2
0
		/// <summary>
		/// Tells JIST to submit this class's functions 
		/// to the javascript engine.
		/// </summary>
		private void JistPlugin_JavascriptFunctionsNeeded(object sender, JavascriptFunctionsNeededEventArgs e)
		{
			e.Engine.CreateScriptFunctions(this.GetType(), this);
		}