Skip to content

Commit

Permalink
Added links to samples in the Event Pipelines Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed Nov 25, 2021
1 parent 25b6147 commit d84909e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions EventSourcing.NetCore.sln
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ECommerce.Core", "Sample\EventStoreDB\Simple\ECommerce.Core\ECommerce.Core.csproj", "{D3351193-F63A-43F1-BB70-C9F4D25887CA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "EventPipelines", "EventPipelines", "{D9799DB3-9D11-4909-8133-64CD96F6E1AC}"
ProjectSection(SolutionItems) = preProject
Sample\EventPipelines\README.md = Sample\EventPipelines\README.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventPipelines", "Sample\EventPipelines\EventPipelines\EventPipelines.csproj", "{622B15BD-9675-431E-B3F0-336D4E50E30F}"
EndProject
Expand Down
14 changes: 13 additions & 1 deletion Sample/EventPipelines/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [Event Pipelines](./EventPipelines)
# [Event Pipelines](./EventPipelines)

Shows how to compose event handlers in the processing pipelines to:
- filter events,
Expand Down Expand Up @@ -96,3 +96,15 @@ var builder = EventHandlersBuilder

var eventBus = new EventBus(builder);
```

## Samples

Check different ways of defining and integrating Event Handlers:
- [Pure functions with Builder](./EventPipelines.Tests/PureFunctionsWithBuilderTest.cs)
- [Pure functions with Dependency Injection](./EventPipelines.Tests/PureFunctionsWithIoCTest.cs)
- [Classes with Builder](./EventPipelines.Tests/PureFunctionsWithBuilderTest.cs)
- [Classes with Dependency Injection](./EventPipelines.Tests/ClassesWithIoCTest.cs)

And how to integrate with MediatR:
- [Pure functions](./EventPipelines.Tests/PureFunctionsWithMediatRTest.cs)
- [Classes](./EventPipelines.Tests/ClassesWithMediatRTest.cs)

0 comments on commit d84909e

Please sign in to comment.