IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Namespace gets multiplied Options · View
radu76
Posted: Friday, July 3, 2009 11:17:22 AM
Rank: Newbie

Joined: 7/3/2009
Posts: 1
Location: Bucharest
Hello,
I am currently evaluating UModel 2009 for my company and I have a small problem.
I created a namespace and under it some enumerations, delegates and classes.
Also I created a component diagram by following the tutorial and generated some C# 2008 code.
Everything was perfect except one thing, in my generated .cs file namespace is put before each declaration (instead of having it on top with all declarations nested):


namespace InputLibrary
{
public abstract class Input .....
}

namespace InputLibrary
{
public class InputPressEventArgs : EventArgs ....
}

namespace InputLibrary
{
public enum InputValue ....
}

namespace InputLibrary
{
public delegate void InputPressEventHandler(Object sender, InputPressEventArgs e) ....
}


Is anything I need to set in order to have the namespace displayed properly?

Thank you.
Radu Curca.
cor
Posted: Saturday, July 4, 2009 6:28:47 AM
Rank: Advanced Member

Joined: 9/28/2005
Posts: 371
Location: Vienna
Hello Radu!

Did you also test our C# Bank sample?
Please can you send your sample to Altova Support?
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.