Пример #1
0
 public LogDecorator(ICalculator decorated, ExecutionStack executionStack)
 {
     this.decorated      = decorated;
     this.executionStack = executionStack;
 }
Пример #2
0
 public Calculator1(ExecutionStack executionStack)
 {
     this.executionStack = executionStack;
 }
Пример #3
0
 public void Initialize()
 {
     container = new WindsorContainer();
     container.Register(Component.For <ExecutionStack>());
     executionStack = container.Resolve <ExecutionStack>();
 }