Create the following code
public class Identity
{
}
public interface IData
{
}
public interface IRepository<D,I>
where I : Identity
where D : IData
{
D Retrieve(I identity);
}
The VA Outline looks like this:
Common.Business.Repository
Identity
IData
I:Identity
Retrieve(I identity)
It's getting confused by the Generics in the interface. The "I:Identity" should be "IRepository<D,I>"
VA View is also having problems with the code as well. It is showing an IRepository interface and a IRepository<D,I> interface in the list. (I don't have just an IRepository interface)