/// <summary> /// Raises the <see cref="PushJavascript" /> event using provided arguments /// </summary> /// <param name="eventArgs">The arguments to be used to raise <see cref="PushJavascript" /> event</param> /// <returns>Returns the result of raising <see cref="PushJavascript" /> event</returns> protected virtual object OnPushJavascript(PushJavascriptEventArgs eventArgs) { return(PushJavascript?.Invoke(this, eventArgs)); }
/// <summary> /// Raises the <see cref="PushJavascript" /> event using provided arguments /// </summary> /// <param name="sender">The IBridgeHandler instance that raised the event</param> /// <param name="eventArgs">The arguments to be used to raise <see cref="PushJavascript" /> event</param> /// <returns>Returns the result of raising <see cref="PushJavascript" /> event</returns> protected virtual object OnPushJavascript(IBridgeHandler sender, PushJavascriptEventArgs eventArgs) { return(PushJavascript?.Invoke(this, eventArgs)); }