public void Invoke(params object[] arguments)
 {
     _instance.InvokeCallback(_id, JArray.FromObject(arguments ?? s_empty));
 }
 /// <summary>
 /// Invokes the callback.
 /// </summary>
 /// <param name="arguments">The callback arguments.</param>
 public void Invoke(params object[] arguments)
 {
     _instance.InvokeCallback(_id, arguments != null ? JArray.FromObject(arguments) : s_empty);
 }