protected virtual async Task FireConnectionBotEventAsync(object sender, ConnectionBotEventArgs args) { if (ConnectionBotEvent != null) { await ConnectionBotEvent?.Invoke(sender, args); } }
protected virtual async Task OnConnectionBotEvent(object sender, ConnectionBotEventArgs args) { await FireConnectionBotEventAsync(sender, args); }
private async Task OnConnectionBotEvent(object sender, ConnectionBotEventArgs args) { await FireConnectionBotEventAsync(sender, args); }