Skip to content

Commit c5801e6

Browse files
authored
Update index.md
1 parent f785c15 commit c5801e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Nuget package: [![nuget](https://img.shields.io/nuget/dt/RulesEngine)](https://w
6161
### Initialise RulesEngine with the workflow:
6262
```c#
6363
var workflowRules = //Get list of workflow rules declared in the json
64-
var re = new RulesEngine.RulesEngine(workflowRules, null);
64+
var re = new RulesEngine.RulesEngine(workflowRules);
6565
```
6666

6767
### Execute the workflow rules with input:
@@ -102,7 +102,7 @@ It is possible to use a custom name in rules by passing input as `RuleParameter`
102102
Now we can call rulesEngine with the custom names:
103103
```c#
104104
var workflowRules = //Get list of workflow rules declared in the json
105-
var re = new RulesEngine.RulesEngine(workflowRules, null);
105+
var re = new RulesEngine.RulesEngine(workflowRules);
106106

107107

108108
// Declare input1,input2,input3
@@ -444,7 +444,7 @@ Actions can have async code as well
444444
}
445445
};
446446

447-
var re = new RulesEngine(workflowRules,logger,reSettings);
447+
var re = new RulesEngine(workflowRules,reSettings);
448448
```
449449
3. You can now use the name you registered in the Rules json in success or failure actions
450450
```jsonc

0 commit comments

Comments
 (0)