From ea69cc8d140c1e07f9cb47d1c77b0167252671a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Skogstad?= Date: Thu, 17 Aug 2023 22:17:18 +0200 Subject: [PATCH] Fix typos (#106) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc7bd0a..a06ed9c 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Goals for this library * High performance * Runtime performance can be the same for both runtime reflection and source generator based approaches, but it's easier to optimize in the latter case * AOT friendly - * MS are investing time in various AOT scenarios, and for example iOS requirees AOT compilation + * MS are investing time in various AOT scenarios, and for example iOS requires AOT compilation * Build time errors instead of runtime errors * The generator includes diagnostics, i.e. if a handler is not defined for a request, a warning is emitted @@ -503,7 +503,7 @@ Since this is a source generator, diagnostics are also included. Examples below This is a work in progress list on the differences between this library and MediatR. * `RequestHandlerDelegate()` -> `MessageHandlerDelegate(TMessage message, CancellationToken cancellationToken)` - * This is to avoid excessive closure allocations. I thin it's worthwhile when the cost is simply passing along the message and the cancellationtoken. + * This is to avoid excessive closure allocations. I think it's worthwhile when the cost is simply passing along the message and the cancellation token. * No `ServiceFactory` * This library relies on the `Microsoft.Extensions.DependencyInjection`, so it only works with DI containers that integrate with those abstractions. * Singleton service lifetime by default