views:

32

answers:

1

Hi everybody!

How do i setup the configuration in XML (for Windsor Castle) for the following class?

public class Repository<T> : IRepository<T> where T : class
{
....
}

I know how to do it in code but i must use XML file

Thanks in advance

+1  A: 
<component id="repository"
   service="MyNamespace.IRepository`1, MyAssembly"
   type="MyNamespace.Repository`1, MyAssembly"/>
Mauricio Scheffer
Thanks very much Mauricio! Works as expected!
Savvas Sopiadis