2 using System
.Collections
.Generic
;
4 using Castle
.Igloo
.Attributes
;
6 namespace Castle
.Igloo
.Test
.ScopeTest
.Components
8 [Scope(Scope
= ScopeType
.Thread
, UseProxy
= true)]
9 public class SimpleComponent2
: IComponent2
11 private IComponent _simpleComponent
= null;
13 public SimpleComponent2(IComponent simpleComponent
)
15 _simpleComponent
= simpleComponent
;
18 #region IComponent2 Members
22 get { return "SimpleComponent2"; }
25 public IComponent SimpleComponent
27 get { return _simpleComponent; }