2 using Castle
.Igloo
.Attributes
;
4 namespace Castle
.Igloo
.Test
.ScopeTest
.Components
6 [Scope(Scope
= ScopeType
.Singleton
)]
7 public class SimpleComponent0
: IComponent0
9 private IComponent1 _simpleComponent1
= null;
11 public SimpleComponent0(IComponent1 simpleComponent1
)
13 _simpleComponent1
= simpleComponent1
;
16 #region IComponent Members
20 get { return this.GetHashCode(); }
23 public IComponent1 SimpleComponent1
25 get { return _simpleComponent1; }