Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: JV on December 22, 2004, 01:17:21 am

Title: .Net Add-in Test
Post by: JV on December 22, 2004, 01:17:21 am
Would someone mind reverse engineering the simple c#
class below using the .Net Add-in and advise if the
resulting EA class contains all its methods and
properties.

When I do it the resulting EA class only contains the
first 2 properties i.e indexer1 and Indexer1

using System;

namespace JVTest.BusinessLogic
{
public class Class1
{
private int indexer1;
public int Indexer1  
{                                          
get                                    
{                                      
return indexer1;              
}                                      
set                                    
{                                      
indexer1 = value;              
}                                      
}
                                         
private string indexer2="";
public  string Indexer2  
{                                          
get                                    
{                                      
return indexer2;              
}                                      
set                                    
{                                      
indexer2 = value;              
}                                      
}  

public Class1()
{
}

public void method1()
{
}
}
}


Thanks John
Title: Re: .Net Add-in Test
Post by: Eve on December 22, 2004, 01:13:56 pm
I had no problems reverse engineering it with or without the addin.  (Using EA build 744)

Does your post mean that you're having trouble?

Simon
Title: Re: .Net Add-in Test
Post by: sargasso on December 22, 2004, 01:29:53 pm
I too had no problems -- but what do you mean by the .net addin?
Title: Re: .Net Add-in Test
Post by: johnr on December 22, 2004, 03:20:32 pm
The MDG Link for Visual Studio.NET, would be the guilty party in this case.
Title: Re: .Net Add-in Test
Post by: JV on December 22, 2004, 11:59:04 pm
Thanks for all your comments, particularly simonm who
prompted me to try using EA build 744. My problem is
solved using this version.

Thanks again
John