会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 8. 发明授权
    • Extending expression-based syntax for creating object instances
    • 扩展用于创建对象实例的基于表达式的语法
    • US07818719B2
    • 2010-10-19
    • US11193584
    • 2005-07-29
    • Henricus Johannes Maria MeijerAnders HejlsbergMatthew J. WarrenLuca BolognesePeter A. HallamGary S. KatzenbergerDinesh C. Kulkarni
    • Henricus Johannes Maria MeijerAnders HejlsbergMatthew J. WarrenLuca BolognesePeter A. HallamGary S. KatzenbergerDinesh C. Kulkarni
    • G06F9/44G06F9/45
    • G06F9/4488
    • Syntax for creating object instances utilizing expressions instead of statements. A syntax component facilitates extension of conventional object-creation-expression syntax. An initializer component provides for initialization of a newly-created entity via object and collection initializers. The initializer component provides initialization of the newly-created entity utilizing an object initializer where the object initializer specifies values for one or more fields or properties of the newly-created entity which is an object, and consists of a sequence of member initializers enclosed by tokens and separated by commas. The initializer component can also provides initialization of the newly-created entity utilizing a collection initializer when the underlying object implements a certain interface or implements a certain pattern. An overloading constructor can be called as part of the initialization process. In another aspect, code inferencing is disclosed whereby given a type, the corresponding code can be inferred by the compiler and inserted for compiling by a compiler.
    • 使用表达式而不是语句创建对象实例的语法。 语法组件有助于扩展常规的对象创建表达式语法。 初始化器组件通过对象和集合初始化器提供新创建的实体的初始化。 初始化器组件使用对象初始化器来提供新创建的实体的初始化,其中对象初始化器指定作为对象的新创建的实体的一个或多个字段或属性的值,并且包括由令牌包围的成员初始化器序列 并用逗号分隔。 初始化器组件还可以在底层对象实现特定接口或实现某种模式时,利用集合初始化器来提供新创建的实体的初始化。 可以调用重载构造函数作为初始化过程的一部分。 在另一方面,公开了代码推论,由此给定类型,相应的代码可以由编译器推断并插入以供编译器编译。