From 87c6af7329ddd7e8d74e90b94348e29d199d5e0d Mon Sep 17 00:00:00 2001 From: Felipe Romero Date: Mon, 10 Dec 2018 10:05:22 -0700 Subject: [PATCH] Fix typo on event-aggregator.md --- docs/event-aggregator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/event-aggregator.md b/docs/event-aggregator.md index 5a07e49..107ea37 100644 --- a/docs/event-aggregator.md +++ b/docs/event-aggregator.md @@ -34,7 +34,7 @@ For example, the following code shows the `TickerSymbolSelectedEvent`. The paylo public class TickerSymbolSelectedEvent : PubSubEvent{} ``` > [!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.