Summary
Registers the listeners.
- Assembly
- Rocket
.Surgery .Extensions .Marten .dll - Namespace
- Rocket
.Surgery .Extensions .Marten - Containing Type
- Document
Session Extensions
Syntax
public static IDocumentSession RegisterListeners(this IDocumentSession documentSession, IServiceProvider serviceProvider)
Parameters
| Name | Type | Description |
|---|---|---|
| documentSession | IDocumentSession | The document session. |
| serviceProvider | IServiceProvider | The service provider. |
Return Value
| Type | Description |
|---|---|
| IDocumentSession | IDocumentSession. |
