Delphi XE5 Union 声明 Namespaces in uses

标签 delphi namespaces declaration

有没有办法只在使用中声明命名空间,而 delphi 会自动获取所有带有它的单元?
例如:

MyNamespace.Unit2.pas
MyNameSpace.Unit3.pas

unit Unit1
uses MyNameSpace;

最佳答案

Is there a way to declare only namespace in uses and delphi get automaticaly all units with it?



不可以。您必须为要使用的每个单位命名。

关于Delphi XE5 Union 声明 Namespaces in uses,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31241807/

相关文章:

delphi - delphi中如何反序列化子属性?

c# - 命名空间和类与 .NET Framework 命名空间和类相同

sql-server - 使用带有子命名空间的 SQL Server 生成 xml

JavaScript 将变量声明为 "g = g || {}; "这意味着什么?

c++ - 在 C++ 中应该如何声明类字段?

web-services - Delphi 7 Indy 9 多线程 HTTP 服务器

delphi - 如何定义其参数在后代类中不同的虚函数?

kubernetes 如何从命名空间注解继承注解继承

c - 替换(不修改) 'const' 值,合法吗?

delphi - 通过 installaware 安装我的应用程序后,我必须打开 windows 字体文件夹