别名为整个项目命名空间globaly [英] alias a namespace globaly for the entire project

查看:179
本文介绍了别名为整个项目命名空间globaly的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是有可能创造一个新的别名为整个项目的一个给定的空间结果
这是我不想写有使用DO = App.Do.App33;?在项目的每个CS文件。结果
,但我想这样做在一些配置或者在某些CS文件一次。结果
和后来干脆将参照App.Do .App33在整个应用程序。

is it possible to create a new alias for a given namespace for the entire project?
that is i dont want to write a "using DO = App.Do.App33;" in each cs file of the project.
but i want to do it one time in some configuration or maybe in some cs file.
and then simply DO will refer to App.Do.App33 in the entire Application.

推荐答案

据一位的老年SO质疑,恐怕没有。

这篇关于别名为整个项目命名空间globaly的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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