什么是历史precursor的.NET属性? [英] What was the Historical Precursor for .NET Attributes?

查看:192
本文介绍了什么是历史precursor的.NET属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

影响了.NET 1.0团队打造,从属性的概念,一开始什么语言或平台?这是一个面向方面的事情吗?序列化?还是其他什么东西?我仍然在VB6-土地在这个时候,与从未使用任何$ P $对 - 1.0 .NET版本

What languages or platforms influenced the .NET 1.0 Team to build-in the concept of Attributes from the very start? Was this an Aspect-Oriented thing? Serialization? or something else? I was still in VB6-land at this time, and never used any of the pre-1.0 .NET versions.

推荐答案

不管你信不信经验/从VB和Microsoft Transaction Server的反馈/ COM +开发团队中的一些设计合理.NET的有一个小角色,属性和元数据。

Believe it or not experiences/feedback from VB and Microsoft Transaction Server/COM+ dev teams had a bit part in some of the design rational of .NET, attributes and metadata.

VB6增加了对属性的支持/元数据的COM + / MTS可以阅读和判断一个对象应该如何表现。记得在你的类所有这些设置,如需要事务,需要新事务等?他们是有效的面向方面的属性。有一个伟大的Don Box在采访时谈到这一切的地方,当我再次找到它,我会后一个链接。

VB6 added support for attributes/metadata that COM+/MTS could read and determine how an object should behave. Remember all those settings on your classes such as 'Requires Transaction', 'Requires New Transaction' and so on? They were effectively aspect orientated attributes. There's a great Don Box interview about all this somewhere, and when I find it again I'll post a link.

这篇关于什么是历史precursor的.NET属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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