示例#1
0
 private void SecondImplementation()
 {
     createProducer = () =>
     {
         return new Producer2nd();
     };
     createConsumer = () =>
     {
         return new Consumer2nd();
     };
     CommonStart();
 }
示例#2
0
 private void FirstImplementation()
 {
     createProducer = () =>
     {
         return new Producer1st();
     };
     createConsumer = () =>
     {
         return new Consumer1st();
     };
     CommonStart();
 }