asp.net mvc 3 - How do I group implementations under interfaces in Visual Studio? -


i downloaded example code github , saw bookrepository.cs class grouped beneath ibookrepository.cs interface. maybe newbie question, how that?

a snapshot visual studio 2010 of implementation grouped beneath interface in solution explorer.

they might have used custom generator tool:

enter image description here

and here's blog post on topic.

or they might have grouped in corresponding .csproj file:

<compile include="code\bookrepository.cs">   <dependentupon>ibookrepository.cs</dependentupon> </compile> <compile include="code\ibookrepository.cs" /> 

Comments

Popular posts from this blog

Javascript line number mapping -

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -