How to represent "event" in a UML Class Diagram?

class-diagram, events, uml

Solution

Here is the UML stereotype in the game. Just stereotype this property:

Note that `_note` is a plain, private property.

Problem

This is my code snippet ``` public class Notation : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private Notes _note; } ``` How to write `public event PropertyChangedEventHandler PropertyChanged;` in UML Class diagram properly? First, I think it's: +PropertyChanged: PropertyChangedEventHandler But then, I realized that it doesn't represent the `event` part of the code. Any idea?

Original source

Related problems