发明名称 Custom compound types in declarative programs
摘要 The present invention extends to methods, systems, and computer program products for creating and manipulating custom compound data types in declarative programs. The present invention allows a developer to create and use custom compound data types without requiring the custom type to be specifically defined (e.g. via registering a custom assembly) in the underlying framework. This is accomplished by providing a data container that is configurable to represent virtually any combination of primitive or compound types defined within the framework. The present invention also provides a declarative model for interacting with data containers representing custom compound data types. This declarative model employs a path-based syntax (or other type of syntax) for accessing the elements of a custom compound data type. Multiple paths can be defined within a single unit of developer input so that multiple elements of a custom data type can be manipulated by the single unit of input.
申请公布号 US8949785(B2) 申请公布日期 2015.02.03
申请号 US201113327674 申请日期 2011.12.15
申请人 Microsoft Corporation 发明人 Welicki Leon E.;Taylor John Anthony;Roberts Clark;Wolf Kenneth David
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人 Tabor Ben;Haslam Brian;Minhas Micky
主权项 1. At a computer system including one or more processors and system memory, the computer system also including a workflow framework, a method for creating a compound data structure using a declarative language, the method comprising: receiving developer input in a declarative language, at the workflow framework, that defines multiple paths and a value for each path, the multiple paths and corresponding values representing a compound data structure that the developer desires to create within a workflow, each path of the multiple paths corresponding to a path to the value for the each path in the resulting created compound data structure and each value for the each path corresponding to a value from the each path in the resulting created compound data structure; interpreting each path, by the workflow framework, to create the compound data structure, wherein interpreting each path comprises: determining a type of element to create for the each path;creating the determined element in the compound data structure for each path; andfor each path, assigning the corresponding value to the element created for the path.
地址 Redmond WA US
您可能感兴趣的专利