Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Castle.Igloo / Castle.Igloo.Test / ScopeTest / Components / SimpleComponent2.cs
blob8b92a29845f2044725fbf6a2ecf2dc526b7a1d97
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
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
20 public string Name
22 get { return "SimpleComponent2"; }
25 public IComponent SimpleComponent
27 get { return _simpleComponent; }
30 #endregion