2 using Castle
.Igloo
.Attributes
;
4 namespace Castle
.Igloo
.Test
.ScopeTest
.Components
6 [Scope(Scope
= ScopeType
.Thread
, UseProxy
= true)]
7 public class SimpleComponent1
: IComponent1
9 private IComponent2 _simpleComponent2
= null;
12 public SimpleComponent1(IComponent2 simpleComponent2
)
14 _simpleComponent2
= simpleComponent2
;
17 #region IComponent Members
19 public IComponent2 SimpleComponent2
21 get { return _simpleComponent2; }