This library serves as the serialization layer for the LogicBuilder.Rules rulesets, enabling:
- Persistence of workflow rule definitions
- Loading rules from XOML files
- Runtime rule modification and storage
- Design-time rule editing support
The library follows the Serialization Provider Pattern, allowing custom types to provide their own serialization logic through:
- Implementing
WorkflowMarkupSerializerfor custom types - Registering serializers via
DefaultSerializationProviderAttribute - Using
WorkflowMarkupSerializationProviderfor service resolution
Comprehensive test suite included in Workflow.ComponentModel.Serialization.Tests covering:
- Simple and complex property serialization
- Collection and dictionary serialization
- Markup extension processing
- Extended property handling
- Error handling and edge cases
- Round-trip serialization validation
Contributions are welcome.
- LogicBuilder.Rules - The workflow rules engine that uses this serialization library