Beispiel #1
0
 public void Process(Context context)
 {
     foreach (var processStep in processSteps)
     {
         processStep.Process(context);
     }
 }
Beispiel #2
0
        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);
        }
Beispiel #3
0
 public void Process(Context context)
 {
     context.Text += " Process Three.";
 }