public void Process(Context context) { foreach (var processStep in processSteps) { processStep.Process(context); } }
public void ResolvingCollections() { var container = new WindsorContainer().Install(FromAssembly.This()); var processor = container.Resolve<IProcessor>(); var context = new Context(); processor.Process(context); Console.Out.WriteLine("context.Text = {0}", context.Text); }
public void Process(Context context) { context.Text += " Process Three."; }