{"id":16431492,"url":"https://github.com/dcastro/textrulesetserializer","last_synced_at":"2025-06-10T13:35:30.125Z","repository":{"id":9149908,"uuid":"10943605","full_name":"dcastro/TextRuleSetSerializer","owner":"dcastro","description":null,"archived":false,"fork":false,"pushed_at":"2014-09-03T12:36:59.000Z","size":144,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T09:47:32.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcastro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-25T16:20:34.000Z","updated_at":"2018-11-01T19:17:07.000Z","dependencies_parsed_at":"2022-09-08T09:50:34.960Z","dependency_job_id":null,"html_url":"https://github.com/dcastro/TextRuleSetSerializer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcastro%2FTextRuleSetSerializer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcastro%2FTextRuleSetSerializer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcastro%2FTextRuleSetSerializer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcastro%2FTextRuleSetSerializer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcastro","download_url":"https://codeload.github.com/dcastro/TextRuleSetSerializer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcastro%2FTextRuleSetSerializer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259085449,"owners_count":22803203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T08:30:31.411Z","updated_at":"2025-06-10T13:35:30.101Z","avatar_url":"https://github.com/dcastro.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TextRuleSetSerializer\n\nAn improved version of [Chris Eyre's Windows Workflow rule serializer](http://devrants.blog.com/2009/03/23/a-better-wf-rule-serializer/).\n\n\n### Introduction\n================\nThis is an alternative for [Windows Workflow Rules Engine](http://msdn.microsoft.com/en-us/library/dd554919.aspx)'s default serializer - WorkflowMarkUpSerializer.\nThis version serializes a RuleSet in a more readable XML format, making it easier to resolve version control merge conflicts.\n\nSample RuleSet with one rule:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cRuleSet.Text Name=\"ClinicalDocumentRuleSet=\"\" ChainingBehavior=\"Full\"\u003e\n   \u003cRule Active=\"True\" Description=\"\" Name=\"ExpiryRule\" Priority=\"5\" ReevaluationBehavior=\"Always\"\u003e\n      \u003cCondition\u003ethis.Expiry \u0026lt; System.DateTime.Now\u003c/Condition\u003e\n      \u003cThenActions\u003e\n         \u003cAction\u003eSystem.Console.WriteLine(\"Firing ExpiryRule\")\u003c/Action\u003e\n         \u003cAction\u003ethis.Expiry = System.DateTime.Now.AddDays(1)\u003c/Action\u003e\n      \u003c/ThenActions\u003e\n      \u003cElseActions\u003e\n         \u003cAction\u003eSystem.Console.WriteLine(\"Document expiry date is ok\")\u003c/Action\u003e\n      \u003c/ElseActions\u003e\n   \u003c/Rule\u003e\n\u003c/RuleSet.Text\u003e\n```\n\n\n### Goals\n=========\nThis project aims to:\n* fix bugs encountered in the original code and\n* provide an updated version for .NET 4.5.\n\n\n### Credits\n===========\nCredits go to [Chris Eyre](http://devrants.blog.com/author/chris-19/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcastro%2Ftextrulesetserializer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcastro%2Ftextrulesetserializer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcastro%2Ftextrulesetserializer/lists"}