public void AddWorker(IFactoryWorker worker) { Console.WriteLine("Start: {0}, Parametry: {1}", DateTime.Now, worker.ToString()); sf.AddWorker(worker); Console.WriteLine("Koniec: {0}", DateTime.Now); }
public void AddWorker(IFactoryWorker worker) { Time(); sf.AddWorker(worker); }