Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Castle.Igloo / Castle.Igloo.Test / ScopeTest / Components / SimpleComponent0.cs
blob7277162f23a94a2ca404251889fe31496ef71e48
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
18 public int ID
20 get { return this.GetHashCode(); }
23 public IComponent1 SimpleComponent1
25 get { return _simpleComponent1; }
28 #endregion