public WoodProcessingFacade(Lumberjack l, Carpenter c, Forester f, WoodPorter wp) { lumberjack = l; carpenter = c; forester = f; woodPorter = wp; }
static void Main(string[] args) { Lumberjack l = new Lumberjack(); Forester f = new Forester(); WoodPorter wp = new WoodPorter(); Carpenter c = new Carpenter(); WoodProcessingFacade lumbermill = new WoodProcessingFacade(l, c, f, wp); lumbermill.Start(); Console.WriteLine(); lumbermill.Stop(); Console.ReadLine(); }