static void Main(string[] args) { Client client = new Client(); client.SetOnStart(new Programmer()); TesterTeam testerTeam = new TesterTeam(); client.SetOnFinish(new Tester(testerTeam, "application", "databases")); client.DoSomethingImportant(); Console.ReadLine(); }
public Tester(TesterTeam receiver, string a, string b) { this._testerTeam = receiver; this._a = a; this._b = b; }