public bool NotifyWithFunction(int id) { bool createdArg = false; SomeEvent.Raise(this, () => { createdArg = true; return(new SomeEventArgs(id)); }); return(createdArg); }
public void DoSomething() { SomeEvent.Raise(this); }
public void Notify(int id) { SomeEvent.Raise(this, new SomeEventArgs(id)); }
public void Fire() { SomeEvent.Raise(this); }