File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Xer.Cqrs.Extensions.Autofac
2
- Autofac implementation for Xer.Cqrs
2
+ Extension for Autofac's ` ContainerBuilder ` to allow easy registration of command handlers and event handlers.
3
+
4
+ ``` csharp
5
+ public void ConfigureServices (Autofac .ContainerBuilder container )
6
+ {
7
+ // Register all CQRS components.
8
+ container .RegisterCqrs (typeof (CommandHandler ).Assembly ,
9
+ typeof (EventHandler ).Assembly );
10
+ }
11
+ ```
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ deploy:
24
24
name : production
25
25
skip_symbols : true
26
26
api_key :
27
- secure : 1fEVy/0Jgny/LKUOQC75fofhRjEfpAaVV0Y8u3nH+oKdmrPFFFEF1swA+iS0W0rV
27
+ secure : 4W6iFCCmm5lNkko9G3XzASDCrVwHlfhBRg3hKWmK819hYQO5/O9ii57D84fxuOFe
28
28
on :
29
29
branch : master
30
30
appveyor_repo_tag : true # Only deploy to NuGet if a tag is found.
You can’t perform that action at this time.
0 commit comments