public async Task LoadEntities() { if (Service == null) { OnRequestConnection?.Invoke(this, EventArgs.Empty); } else { await PopulateEntities(); } }
protected virtual void OnConnectionRequested(object sender, RequestConnectionEventArgs e) { OnRequestConnection?.Invoke(sender, e); }