// Invoke the Change event public virtual void OnChange(ChangeEventArgs e) { if (Change != null) { Change(this, e); } }
public void Update(object sender, ChangeEventArgs e) { Console.WriteLine("Notified {0} of {1}'s " + "change to {2:C}", Name, e.Symbol, e.Price); }
public void Update(object sender, ChangeEventArgs e) { Console.WriteLine("Notified {0} of {1}'s " + "change to {2:C}", Name, e.Symbol, e.Price); }