Skip to content

Commit

Permalink
Fix typo on event-aggregator.md
Browse files Browse the repository at this point in the history
  • Loading branch information
feliperomero3 committed Dec 10, 2018
1 parent 32a2545 commit 87c6af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/event-aggregator.md
Expand Up @@ -34,7 +34,7 @@ For example, the following code shows the `TickerSymbolSelectedEvent`. The paylo
public class TickerSymbolSelectedEvent : PubSubEvent<string>{}
```
> [!Note]
> In a composite application, the events are frequently shared between multiple modules, so they are defined in a common place. It is common practice to deinfe these events in a shared assembly such as a "Core" or "Infrastructure" project.
> In a composite application, the events are frequently shared between multiple modules, so they are defined in a common place. It is common practice to define these events in a shared assembly such as a "Core" or "Infrastructure" project.
## Publishing an Event
Publishers raise an event by retrieving the event from the `EventAggregator` and calling the `Publish` method. To access the `EventAggregator`, you can use dependency injection by adding a parameter of type `IEventAggregator` to the class constructor.
Expand Down

0 comments on commit 87c6af7

Please sign in to comment.