private void OnModifierAdded(object sender, IModifier e) { if (e is T mod) { AddModifier(mod); ModifierAdded?.Invoke(sender, mod); OnListChanged(); } }
protected virtual void OnModifierAdded(RuneModifierAddedEventArgs e) { ModifierAdded?.Invoke(this, e); }
protected virtual void OnModifierAdded(Members.Member e) { ModifierAdded?.Invoke(this, e); }