Windsore dependency
Posted
by jack
on Stack Overflow
See other posts from Stack Overflow
or by jack
Published on 2010-03-31T14:04:25Z
Indexed on
2010/03/31
15:33 UTC
Read the original article
Hit count: 173
I have a class with contructure like this
public UserRepository(IBlockRepository blockRepos)
{
}
and again, I have another class with the constructure function like this
public BlockRepository(IUserRepository userRepo)
{
}
this cause the Windsor error : Castle.MicroKernel.Handlers.HandlerException: Can't create component 'UserRepository' as it has dependencies to be satisfied. UserRepository is waiting for the following dependencies
I don't know how to fix it , please help me. Many thanks
© Stack Overflow or respective owner