Skip to content
Gabe Stocco edited this page Jul 16, 2020 · 20 revisions

Logical Analyzer is a rules processing engine to apply provided rules against arbitrary objects

  • Rules contain a Target, a Severity, a boolean Expression and a List of Clauses which are applied to the targeted object.
  • Clauses perform a specified Operation on a specified Field of a Target. The Field can be any property or subproperty or field of the object specified with dot notation to separate levels.
  • The Analyzer has 4 Delegate extensibility points.

Basic Usage

The basic usage of Logical Analyzer is applying rules to targets using the Analyze function.

object target;
IEnumerable<Rule> rules;
var analyzer = new Analyzer();
var rulesWhichApply = analyzer.Analyze(rules,target);

Check the other Wiki pages for advanced uses.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Clone this wiki locally