Behaviors
The following code examples demonstrate how a behavior can be declared and used. See section [TBD] for details.
General Declaration
Some example behavior for Context A and Context B:
{context a, context b}?
Initialization operation: for {context a, context b},
when initialized?
`Operation logic.`
Do some example operation: for {context a},
whenever context a (Value A) changes?
`Operation logic.`
Do some other example operation for Context C: <context c> for {context b},
when context c (Value A) = context b (Value A)?
`Operaton logic.`Exclusivity
`Contexts are unique by default, being associated with only one behavior instance,
but this can be declared explicitly.`
Some example behavior for unique Context A and Context B:
{context a, context b}?
`Declare Operations.`Fulfillment
Specifier
In Combination
Identification-Based Declarations
With Identifier
Extensions
Replacements
With Conditions
With Filtering
With Sorting
Last updated