示例#1
0
 private void OnResponse(ExtensionEvent e)
 {
     Console.WriteLine(e.Command);
 }
示例#2
0
	// got a response back from a request sent to the server
	private void OnResponse(ExtensionEvent e)
	{
		// just pass the info through
		if (ExtensionEvent != null)
			ExtensionEvent(new Dictionary<string, object>() { { "command", e.Command }, { "subcommand", e.SubCommand }, { "data", e.Data } });
	}