Skip to content
unforbidable edited this page Oct 9, 2015 · 31 revisions

When rules are compiled from an XML rule file the content of XML elements where, select, update and insert is used as the bodies of the new methods. The compiled methods are called when the rule is run.

Each method has parameter Source and some also have parameter Target. Which form these parameters represent depends on the method. The Source form cannot be modified - only the Target form will ever accept any changes. Which properties and methods are available depends on which type of form each one represents.

Beside normal C# language features several global helper objects and methods can be used from any of the methods. It is not allowed to directly use any general classes that are part of .NET Framework, however.

The current list of forbidden tokes is: System., Microsoft., Patcher., .GetType( and typeof(.

For assistance when dealing with errors that may occur during rule compilation and execution see troubleshooting.

Clone this wiki locally