To define an event using the Managed Extensions, you use the __event keyword. For example, the Button class in Windows: : Forms has a Click event.
为了用托管扩展定义一个事件,你得用__event关键字。
This was a second primary goal of the Managed Extensions design.
这是托管扩展设计的第二个主要目标。
In moving your code from Managed Extensions to the new syntax, you might miss performing this transformation.
在将代码从托管扩展迁移到新语法时,可能会遗漏此转换的执行。
A primary goal of the Managed Extensions design was to not introduce incompatibilities with the standard language, such as new keywords and tokens.
托管扩展设计的一个主要目标是不引入与标准语言不兼容的内容,例如新关键字和新标记。
The necessary behavioral characteristics are that it exhibit object semantics when operators are applied to it, something Managed Extensions was unable to support.
必要的行为特征是,在对它应用运算符时,它表现对象语义,而这是托管扩展所无法支持的。
At the same time, it allows users of the new functionality to have a first-class experience of the additional language feature - something that wasn't possible with Managed Extensions.
同时,它使得使用新功能的用户可以获得附加语言功能的一流体验—这正是托管扩展所缺少的。
At the same time, it allows users of the new functionality to have a first-class experience of the additional language feature - something that wasn't possible with Managed Extensions.
同时,它使得使用新功能的用户可以获得附加语言功能的一流体验—这正是托管扩展所缺少的。
应用推荐