...
首页> 外文期刊>MSDN Magazine >BASIC INSTINCTS: Reflection in Visual Basic .NET
【24h】

BASIC INSTINCTS: Reflection in Visual Basic .NET

机译:基本实例:Visual Basic .NET中的反射

获取原文
获取原文并翻译 | 示例
           

摘要

In the May 2005 Basic Instincts column I wrote about the Microsoft~® .NET Framework support for custom attributes and attribute-based programming (see msdn.microsoft.com/msdnmag/is-sues/05/05/Basiclnstincts). I discussed how the inclusion of attributes in the .NET Framework programming model gives Microsoft and third-party developers a powerful way to extend the metadata that is compiled into assemblies. This extensibility opens up opportunities for designs that leverage attribute-based programming. The ability to programmatically inspect an assembly at run time is important for designing software based on custom attributes. It allows you to determine how your attributes have been applied and parameterized. This month I will focus on how you can use reflection to programmatically inspect an assembly at run time. I will also take some time to discuss other scenarios in which using reflection can be helpful.
机译:在2005年5月的“基本本能”专栏中,我写了有关Microsoft〜.NET Framework对自定义属性和基于属性的编程的支持(请参阅msdn.microsoft.com/msdnmag/is-sues/05/05/BasicInstincts)。我讨论了.NET Framework编程模型中属性的包含方式如何为Microsoft和第三方开发人员提供了一种强大的方式来扩展被编译为程序集的元数据。这种可扩展性为利用基于属性的编程的设计提供了机会。在运行时以编程方式检查装配的能力对于基于自定义属性的软件设计非常重要。它使您可以确定如何应用和参数化属性。本月,我将重点介绍如何使用反射在运行时以编程方式检查程序集。我还将花一些时间来讨论其他使用反射可能会有所帮助的方案。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号