protected virtual void RaiseEffectChangedEvent(EffectChangedEventArgs e) { var handler = OnEffectChangedEvent; handler?.Invoke(this, e); } }