コード例 #1
0
        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();
        }
コード例 #2
0
 public Tester(TesterTeam receiver, string a, string b)
 {
     this._testerTeam = receiver;
     this._a          = a;
     this._b          = b;
 }