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); }
public void RegisterWorker(IShapeFactoryWorker worker) { AssertTime(); realFactory.RegisterWorker(worker); }