Extending expression-based syntax for creating object instances
    61.
    发明申请
    Extending expression-based syntax for creating object instances 有权
    扩展用于创建对象实例的基于表达式的语法

    公开(公告)号:US20070028212A1

    公开(公告)日:2007-02-01

    申请号:US11193584

    申请日:2005-07-29

    IPC分类号: G06F9/44

    CPC分类号: 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.

    摘要翻译: 使用表达式而不是语句创建对象实例的语法。 语法组件有助于扩展常规的对象创建表达式语法。 初始化器组件通过对象和集合初始化器提供新创建的实体的初始化。 初始化器组件使用对象初始化器来提供新创建的实体的初始化,其中对象初始化器指定作为对象的新创建的实体的一个或多个字段或属性的值,并且包括由令牌包围的成员初始化器序列 并用逗号分隔。 初始化器组件还可以在底层对象实现特定接口或实现某种模式时,利用集合初始化器来提供新创建的实体的初始化。 可以调用重载构造函数作为初始化过程的一部分。 在另一方面,公开了代码推论,由此给定类型,相应的代码可以由编译器推断并插入以供编译器编译。

    Anonymous types for statically typed queries
    62.
    发明申请
    Anonymous types for statically typed queries 有权
    用于静态类型查询的匿名类型

    公开(公告)号:US20070027862A1

    公开(公告)日:2007-02-01

    申请号:US11193601

    申请日:2005-07-29

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30421 G06F17/3041

    摘要: Anonymous types for a programming language. Non-denotable anonymous types are types that a compiler generates on behalf of a programmer and can then be used as nominal types. Insofar as anonymous types do not have a name, they can be used only inside a method in which they are created. Additionally, an anonymous type cannot be exposed in any way outside of the method. Syntax to create an anonymous type is useful when employed with a Select operator to generate a result with a particular shape, without the need of having a regular type for it. Anonymous types are expressible such that an expression of that type can be written. Translation of an anonymous type by a compiler generates a nominal class that implements Equals and GetHashCode methods. There is equivalence of anonymous types within the same method, and conversion of an unrealized structural type into structurally compatible nominal type.

    摘要翻译: 编程语言的匿名类型。 不可表示的匿名类型是编译器代表程序员生成的类型,然后可以用作标称类型。 只要匿名类型没有名称,它们只能在创建它们的方法中使用。 此外,匿名类型不能以任何方式暴露在该方法之外。 创建匿名类型的语法在与“选择”运算符一起使用以生成具有特定形状的结果时非常有用,而无需为其定义类型。 匿名类型是可表达的,使得可以写入该类型的表达式。 编译器生成一个匿名类型,生成一个实现Equals和GetHashCode方法的标称类。 在同一方法中存在匿名类型的等价物,并将未实现的结构类型转换为结构兼容的名义类型。

    Gear for use in a gear pump
    64.
    发明申请
    Gear for use in a gear pump 审中-公开
    用于齿轮泵的齿轮

    公开(公告)号:US20050271538A1

    公开(公告)日:2005-12-08

    申请号:US11145371

    申请日:2005-06-03

    摘要: A gear for use in a gear pump having intermeshing gear teeth includes indentations formed on one or both of first and second sides of at least one of the multiple gear teeth of the gear. Each of the indentations is of sufficient size to allow material to flow into the indentation during counter-rotation of the intermeshing gears. Material processed by the gear pump and otherwise trapped between the intermeshing gears flows into the indentation, which forms a channel that connects to the outlet chamber. The otherwise trapped material flows into the outlet chamber. The gear having gear tooth indentations decreases the amount of material trapped between the intermeshing gears and thereby decreases the amount of material squeezed out the sides of the gears and improves material flow within the gear pump.

    摘要翻译: 用于具有相互啮合的齿轮齿的齿轮泵的齿轮包括形成在齿轮的多个齿轮齿中的至少一个的第一和第二侧的一个或两个上的凹陷。 每个凹口具有足够的尺寸,以允许材料在相互啮合的齿轮的反向旋转期间流入凹陷。 由齿轮泵处理的材料以及被夹在相互啮合的齿轮之间的材料流入压痕,这形成连接到出口腔的通道。 否则被捕获的材料流入出口室。 具有齿轮齿槽的齿轮减少啮合啮合齿轮之间的材料的量,从而减少从齿轮侧挤出的材料的数量并改善齿轮泵内的材料流动。