Code blueprints
    1.
    发明授权
    Code blueprints 有权
    代码蓝图

    公开(公告)号:US07500224B2

    公开(公告)日:2009-03-03

    申请号:US10285849

    申请日:2002-11-01

    IPC分类号: G06F9/44

    CPC分类号: G06F8/51

    摘要: A blueprint is described that provides a framework for writing a code generator. A blueprint translator translates the blueprint into one or more classes with source code. The newly generated code can then be compiled. If the user wishes to add additional functionality to a generated class, this is done in a separate source file. At compilation time, the compiler combines the generated class with the user's additions, as if they were written in a single class. Later, if the blueprint is ever changed, the generated code can safely be updated without overwriting the user's additions. Alternately, the user can embed his desired additions or changes directly into the blueprint (embedded code). In this manner, should the blueprint ever be re-compiled, the user's changes will still be present. The partial classes technique can be used in conjunction with the embedded code technique.

    摘要翻译: 描述了提供编写代码生成器的框架的蓝图。 蓝图翻译器将蓝图转换为一个或多个具有源代码的类。 然后可以编译新生成的代码。 如果用户希望为生成的类添加附加功能,则可以在单独的源文件中完成。 在编译时,编译器将生成的类与用户的添加相结合,就好像它们被编写在一个类中一样。 之后,如果蓝图发生变化,生成的代码可以安全地更新,而不会覆盖用户的添加。 或者,用户可以将他想要的添加或改变直接嵌入到蓝图(嵌入代码)中。 以这种方式,如果蓝图有待重新编译,用户的变化仍然存在。 部分类技术可以与嵌入式代码技术结合使用。

    Delegate-based event handling
    2.
    发明授权
    Delegate-based event handling 失效
    基于代理的事件处理

    公开(公告)号:US06951022B1

    公开(公告)日:2005-09-27

    申请号:US09808263

    申请日:2001-03-14

    IPC分类号: G06F9/46

    CPC分类号: G06F9/542

    摘要: A delegate-based event-driven programming model facilitates application development by allowing event handlers to be manipulated on an individual basis. In the delegate-based event-driven programming model, the recipient of an event need not be aware that is receiving the event because the event is treated as a call from a method. In addition, event handlers can be dynamically manipulated, such that recipients of events can be added or removed during runtime. Flexibility of event handling is improved as a result.

    摘要翻译: 基于代理的事件驱动的编程模型通过允许事件处理程序在个别基础上进行操作来促进应用程序开发。 在基于委托的事件驱动的编程模型中,事件的收件人不需要意识到正在接收事件,因为事件被视为来自方法的调用。 此外,可以动态地处理事件处理程序,以便可以在运行时添加或删除事件的接收者。 结果提高了事件处理的灵活性。

    Method, software and apparatus for referencing a method in object-based programming
    3.
    发明授权
    Method, software and apparatus for referencing a method in object-based programming 失效
    用于引用基于对象的编程中的方法的方法,软件和装置

    公开(公告)号:US06381734B1

    公开(公告)日:2002-04-30

    申请号:US09089619

    申请日:1998-06-03

    IPC分类号: G06F945

    CPC分类号: G06F9/449

    摘要: Method and apparatus for encapsulating a reference to a method in object-based programming systems and ensuring that the reference is safe are disclosed. The method of encapsulation provides for: a) defining an entity that defines the shape of the method to be referenced; b) obtaining a reference to a method; c) storing this reference in arbitrary data structures; d) passing the reference to code written by other parties; e) enabling invocation of the method by anyone holding the method reference; and f) enabling the holder of a method reference to determine the target object and method being referenced. These objectives are achieved in a strongly typed manner, making it possible for: a) developers to learn of type mismatch problems early (at compile-time) rather than late (at run-time); and b) development tools to present information to developers about the shape of components that use delegates. In addition, a model of event based programming is disclosed, wherein event-related code can be encapsulated in delegates.

    摘要翻译: 公开了一种用于封装对基于对象的编程系统中的方法的参考并确保参考是安全的方法和装置。 封装方法提供:a)定义定义要引用的方法的形状的实体; b)获得对方法的引用; c)将此参考存储在任意数据结构中; d)传递其他方面编写的代码; e)允许任何持有方法引用的方法的调用; 以及f)使得方法引用的持有人能够确定所引用的目标对象和方法。 这些目标是以强力类型的方式实现的,从而有可能:a)开发人员早期(在编译时)而不是迟到(在运行时)学习类型不匹配问题; 和b)开发工具向开发人员介绍使用代表的组件的形状。 另外,公开了一种基于事件的编程的模型,其中事件相关代码可以封装在委托中。

    Cross version customization of design environment
    4.
    发明授权
    Cross version customization of design environment 有权
    交叉版定制设计环境

    公开(公告)号:US07694277B2

    公开(公告)日:2010-04-06

    申请号:US10438042

    申请日:2003-05-14

    IPC分类号: G06F9/44 G06F9/46

    CPC分类号: G06F8/71

    摘要: A client or Web application assembly or group of assemblies is bound to a version of shared assemblies associated with a particular targeted execution environment. The targeted execution environment (and thus the version of shared assemblies associated with it) may be selected or detected. A file such as a configuration file is automatically modified. The selected or detected execution environment may be the same as or different than the local version. The client or Web assembly is automatically bound to the targeted shared assemblies. A user interface enables the selection of a particular execution environment. Alternatively, a user interface informs of the detected targeted execution environment and enables the reconfiguration of the Web assembly. This invention provides a mechanism and process for maintaining legacy software after a new software development tool is installed, without deploying a new version of shared assemblies.

    摘要翻译: 客户端或Web应用程序程序集或程序集组绑定到与特定目标执行环境相关联的共享程序集的版本。 可以选择或检测目标执行环境(以及与之关联的共享程序集的版本)。 自动修改配置文件等文件。 所选或检测到的执行环境可以与本地版本相同或不同。 客户端或Web程序集将自动绑定到目标共享程序集。 用户界面使得能够选择特定的执行环境。 或者,用户界面通知检测到的目标执行环境并且使得能够重新配置Web组件。 本发明提供了在安装新的软件开发工具之后维护传统软件的机制和过程,而不部署新版本的共享组件。