https://github.com/dcastro/textrulesetserializer
https://github.com/dcastro/textrulesetserializer
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dcastro/textrulesetserializer
- Owner: dcastro
- Created: 2013-06-25T16:20:34.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-09-03T12:36:59.000Z (almost 12 years ago)
- Last Synced: 2025-02-25T09:47:32.960Z (over 1 year ago)
- Language: C#
- Size: 141 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TextRuleSetSerializer
An improved version of [Chris Eyre's Windows Workflow rule serializer](http://devrants.blog.com/2009/03/23/a-better-wf-rule-serializer/).
### Introduction
================
This is an alternative for [Windows Workflow Rules Engine](http://msdn.microsoft.com/en-us/library/dd554919.aspx)'s default serializer - WorkflowMarkUpSerializer.
This version serializes a RuleSet in a more readable XML format, making it easier to resolve version control merge conflicts.
Sample RuleSet with one rule:
```xml
this.Expiry < System.DateTime.Now
System.Console.WriteLine("Firing ExpiryRule")
this.Expiry = System.DateTime.Now.AddDays(1)
System.Console.WriteLine("Document expiry date is ok")
```
### Goals
=========
This project aims to:
* fix bugs encountered in the original code and
* provide an updated version for .NET 4.5.
### Credits
===========
Credits go to [Chris Eyre](http://devrants.blog.com/author/chris-19/).