Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Castle.Igloo / Castle.Igloo.Test / ScopeTest / Components / SimpleComponent1.cs
blob465f683a91ae9a3d5a805a226dd921e0290dae57
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; }
24 public int ID
26 get
28 return 101;
33 #endregion