An open API service indexing awesome lists of open source software.

https://github.com/dcastro/textrulesetserializer


https://github.com/dcastro/textrulesetserializer

Last synced: about 1 year ago
JSON representation

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/).