public void Method(int argument)
 {
     MethodInvoked?.Invoke(this, new MethodEventArgs(argument));
 }
Example #2
0
 protected virtual void OnMethodInvoked()
 {
     MethodInvoked?.Invoke(this, new EventArgs());
 }
Example #3
0
 private void OnMethodInvoked()
 {
     MethodInvoked?.Invoke(this, new EventArgs());
 }