private void OnActiveProfileChanged(ActiveProfileChanged message) { MatchHistory = message.Profile.MatchHistory; ProfileName = message.Profile.Name; ActiveProfile = message.Profile; ActiveProfileChanged(); }
/// <summary> /// Invokes the <see cref="ActiveProfileChanged" /> event /// </summary> protected virtual void OnActiveProfileChanged() { ActiveProfileChanged?.Invoke(this, EventArgs.Empty); }