Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1632: C# Issue with VA Outline and generics

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
brian_winfield Posted - Apr 23 2008 : 11:31:17 AM
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)



1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 23 2008 : 5:08:29 PM
I am seeing the same effect here. Thank you for the clear description.

case=6681

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000