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.

Profile: tadler
About
User Name: tadler
Forum Rank: Newbie
Real Name:
Location Boston
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Tuesday, August 24, 2010
Last Visit: Friday, August 27, 2010 11:34:27 AM
Number of Posts: 3
[0.02% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Template Use / C#
Posted: Friday, August 27, 2010 11:33:47 AM
Thanks - that worked.

I didn't realize that just typing in the label was all that was required. The documentation makes a lot more sense now.
Topic: How do I create an Anonymous bound element?
Posted: Wednesday, August 25, 2010 4:35:01 PM
Hi,

The title says it all: How do I create an Anonymous bound element? When I create the model from C#4.0 code, the interface classes show as anonymous bound elements in the tree structure. My question is when I am designing the model from scratch, how can I create these?

Thanks,
Tim.
Topic: Template Use / C#
Posted: Tuesday, August 24, 2010 11:19:36 PM
Hi,

I am new to umodel, but reasonably proficient with OO/UML concepts.

Specifically, I am trying to use the IObservable interface in C#4.0
A screenshot of my desktop is here: http://www.quickphotohost.com/uploads/834eee55f9.png

I think the error message is indicating that I have not specified the type T in the interface. My problem is that for the life of me I cannot figure out how to specify it?

I tried this step outlined in another posting, but it did not have any options under the new menu.

"
*) rightclick on a class diagram
*) use New|Interface to create a new interface
*) rightclick on the new interface
*) use New|TemplateSignature to "add template capabilities"
"

Update #1: I realized that I didn't have C#4.0 installed on this machine. Tried it again on a machine with C#4.0 and didnt get anywhere.

Update #2: I imported the iobservable interface from the mscorlib binary into my project. now it doesnt let me specify that my parameters class is a sub-class of iobservable. It says 'invalid target type'


Thanks for the advice,

Tim.

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