protected virtual void OnMemberAdded(MemberAddedEventArgs e) { EventHandler<MemberAddedEventArgs> handler = MemberAdded; if (handler != null) { handler(this, e); } }
protected virtual void OnMemberAdded(MemberAddedEventArgs e) { EventHandler <MemberAddedEventArgs> handler = MemberAdded; if (handler != null) { handler(this, e); } }
public void Add(int x) { list.Add(x); var args = new MemberAddedEventArgs { MemberAdd = x }; OnMemberAdded(args); }
public void Add(int x) { list.Add(x); var args = new MemberAddedEventArgs { MemberAdd = x }; OnMemberAdded(args); }