在没有visual studio的情况下加载uml模型 [英] Load uml model without visual studio

查看:90
本文介绍了在没有visual studio的情况下加载uml模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我们知道在编写visual studio扩展时我们如何使用uml的对象模型。

We know how we can use uml's object model when we are writing visual studio extension.

问题是 - 可以在visual studio context的之外加载和反序列化* .componentdiagram
吗?

Question is- is it possible to load and deserialize *.componentdiagram outside of visual studio context?

我们知道我们可以编写自己的类代表.componentdiagram对象 - 但这是一个丑陋的想法。

We know that we can write our own classes for represent .componentdiagram objects- but it's ugly idea.

我们看了Microfosft.VisualStudio.Uml.Serialization名称空间..但对我们来说,目前尚不清楚 - 我们如何使用它是什么合法??

We are looked at the Microfosft.VisualStudio.Uml.Serialization namespace.. But for us it's not clear- how we can use and is it legal??

如果有人知道如何在没有视觉工作室的情况下加载模型 - 我会很高兴看到如何。

If anybody know how to load model without visual studio- I will be glad to read how.

Igor

推荐答案

Hello Igo

Hello Igo

实际上我认为在Visual Studio外部加载Visual Studio UML模型是不可取的。 UML模型有一种特殊的商店,由几个图表共享(由建模项目托管)。如果你只打开组件图
,你将无法访问所有其余的

Actually I don't think that loading a Visual Studio UML model outside Visual Studio is feaseable. There is a special kind of Store for the UML models that is Shared by several diagrams (hosted by the modeling project). If you opened the component diagram only, you would not access all the rest

你能否与我分享你想要做什么,这样我才能想到问题更普遍?

Could you please share with me what you are trying to do, so that I can think of the problem more generally?

问候

Regards


这篇关于在没有visual studio的情况下加载uml模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆