Continuation based declarative definition and composition
First Claim
1. In a computer system including a continuation-based runtime, a method for forming a declarative activity for execution in the continuation-based runtime, the method comprising:
- an act of receiving input in a declarative language that defines a parent declarative activity in accordance with a declarative activity schema, the declarative activity including;
a properties portion that declaratively defines one or more interface parameters of the declarative activity; and
a body portion that declaratively defines an execution behavior of the parent declarative activity, wherein the body portion includes a plurality of child activities, at least one of the child activities being defined declaratively in accordance with the declarative activity schema, and at least one of the child activities being defined imperatively in native code;
an act of validating that the parent declarative activity as well as each child activity that is defined declaratively is in conformance with the declarative activity schema; and
an act of executing the parent declarative activity including executing the at least one child activity that is defined declaratively and the at least one child activity that is defined imperatively.
2 Assignments
0 Petitions
Accused Products
Abstract
Declarative definition and composition of activities of a continuation based runtime. When formulating such a declarative activity of a continuation-based runtime, the activity may be formulated in accordance with a declarative activity schema and include a properties portion that declaratively defines one or more interface parameters of the declarative activity, and a body portion that declaratively defines an execution behavior of the declarative activity. The declarative activities may be hierarchically structured such that a parent declarative activity may use one or more child activities to define its behavior, where one or more of the child activities may also be defined declaratively.
-
Citations
10 Claims
-
1. In a computer system including a continuation-based runtime, a method for forming a declarative activity for execution in the continuation-based runtime, the method comprising:
-
an act of receiving input in a declarative language that defines a parent declarative activity in accordance with a declarative activity schema, the declarative activity including; a properties portion that declaratively defines one or more interface parameters of the declarative activity; and a body portion that declaratively defines an execution behavior of the parent declarative activity, wherein the body portion includes a plurality of child activities, at least one of the child activities being defined declaratively in accordance with the declarative activity schema, and at least one of the child activities being defined imperatively in native code; an act of validating that the parent declarative activity as well as each child activity that is defined declaratively is in conformance with the declarative activity schema; and an act of executing the parent declarative activity including executing the at least one child activity that is defined declaratively and the at least one child activity that is defined imperatively. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. In a computer system including a continuation-based runtime, a method, performed by the continuation-based runtime executing on the computer system for forming a declarative activity for execution in the continuation-based runtime, the method comprising:
-
an act of formulating a definition of a first declarative activity in accordance with a declarative activity schema in the Extensible Application Markup Language (XAML) declarative language, the first declarative activity specifying a first execution behavior, the definition of the first declarative activity including a properties tag and a body tag nested within an activity tag, wherein the properties tag further includes nested therein one or more property tags that each define an input or an output of the first declarative activity, and wherein the body tag further includes nested therein a sequence tag containing a sequence of child declarative activities that when executed implement the first execution behavior; and an act of formulating a definition of a second declarative activity in accordance with the declarative activity schema in the XAML declarative language, the second declarative activity specifying a second execution behavior, the definition of the second declarative activity including a properties tag and a body tag nested within an activity tag, wherein the properties tag further includes nested therein one or more property tags that each define an input or an output of the second declarative activity, and wherein the body tag further includes nested therein one or more instances of the first declarative activity that when executed implement the second execution behavior. - View Dependent Claims (8, 9)
-
-
10. A computer program product comprising one or more computer-readable media-storage devices having stored thereon computer executable instructions which when executed in a computer system including a continuation-based runtime, perform a method for forming a declarative activity for execution in the continuation-based runtime, the method comprising:
-
an act of receiving input in a declarative language that defines a parent declarative activity in accordance with a declarative activity schema, the declarative activity including; a properties portion that declaratively defines one or more interface parameters of the declarative activity; and a body portion that declaratively defines an execution behavior of the parent declarative activity, wherein the body portion includes a plurality of child declarative activities, at least one of the child declarative activities being defined declaratively in accordance with the declarative activity schema, and at least one of the child development activities being defined imperatively in native code; an act of validating that the parent declarative activity as well as each child declarative activity that is defined declaratively is in conformance with the declarative activity schema; and an act of executing the parent declarative activity including executing the at least one child declarative activity that is defined declaratively and the at least one child declarative activity that is defined imperatively.
-
Specification