示例#1
0
 public void RegisterWorker(IShapeFactoryWorker worker)
 {
     Console.WriteLine("Proxy register worker start: {0}, params {1}", DateTime.Now, worker.ToString());
     realFactory.RegisterWorker(worker);
     Console.WriteLine("Proxy register worker end: {0}", DateTime.Now);
 }
示例#2
0
 public void RegisterWorker(IShapeFactoryWorker worker)
 {
     AssertTime();
     realFactory.RegisterWorker(worker);
 }