Domain components can have associated specific classes called domain logic. These classes' methods provide implementation for members declared in a domain component.
Here, a domain logic for methods declared in a domain component is implemented:
- The Postpone method, which is declared as an Action, modifies the DueDate property. This method is called when the Postpone Action is executed;
- The CreateReport creates a report with the Text property set to the value passed as a parameter;
- The AfterConstruction method initializes properties. To specify the Report property, it calls the CreateReport method with “new task” passed as a parameter.
Click the 'C# Code' tab to see the corresponding source code. To see a complete list of possible domain logic methods refer to the product documentation.