Skip to content

Commit 78fa4e2

Browse files
authored
Update README.md
1 parent 039d154 commit 78fa4e2

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ It supports only one style of comment can be used for single or multiline using
297297
1. [Extensibility](#extensibility)
298298
1. [Compile Script](#compile-script)
299299

300-
#### Simpleflow Execution
300+
### Simpleflow Execution
301301
<a name="simpleflow-pipeline"></a>
302302

303303
![Simpleflow Pipeline](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/navtech-io/Simpleflow/main/SimpleflowDiagram.puml)
@@ -330,13 +330,11 @@ ISimpleflow flow = engine.Build();
330330
FlowOutput result = flow.Run(script, new Member { Id = id});
331331

332332
```
333-
#### FlowOutput
333+
### FlowOutput
334334

335335
Emitters (`message, error, output`) produce output from script that will be available in FlowOutput object.
336336

337-
338-
339-
#### Register Custom Functions
337+
### Register Custom Functions
340338

341339
```csharp
342340
FunctionRegister.Default
@@ -347,10 +345,7 @@ static int CalcDerivativeOfXPowN(int x, int n)
347345
return n * Math.Pow(x, n-1); //
348346
}
349347
```
350-
351-
352-
353-
#### Extensibility
348+
### Extensibility
354349

355350
Create middleware and add it to pipeline.
356351

@@ -365,7 +360,7 @@ public class LoggingService : IFlowPipelineService
365360
}
366361
```
367362

368-
#### Compile Script
363+
### Compile Script
369364
By adding only CompilerService to build pipeline, script can be compiled and reported if there are any errors.
370365
```csharp
371366

0 commit comments

Comments
 (0)