Skip to content

Commit ecce045

Browse files
authored
Merge pull request #18 from XerProjects/dev
Update docs/build tools
2 parents ed32118 + b5caae4 commit ecce045

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
# 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+
```

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ deploy:
2424
name: production
2525
skip_symbols: true
2626
api_key:
27-
secure: 1fEVy/0Jgny/LKUOQC75fofhRjEfpAaVV0Y8u3nH+oKdmrPFFFEF1swA+iS0W0rV
27+
secure: 4W6iFCCmm5lNkko9G3XzASDCrVwHlfhBRg3hKWmK819hYQO5/O9ii57D84fxuOFe
2828
on:
2929
branch: master
3030
appveyor_repo_tag: true # Only deploy to NuGet if a tag is found.

0 commit comments

Comments
 (0)