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); }
public static void AddWorker( IFactoryWorker worker ) { _workers.Add( worker ); }
public void AddWorker(IFactoryWorker worker) { workers.Add(worker); }
public void RegisterWorker(IFactoryWorker worker) { workers.Add(worker); }