Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-goldman committed Oct 14, 2023
1 parent 6520fc3 commit f0680c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ Additional features supported by PageReolver:
await Navigation.PushAsync<MyPage>(myPageParam1, "bob", 4);
```

* Paramaterised navigation - pass ViewModel parameters
* Paramaterised navigation - pass ViewModel parameters (.NET 8 version only)

```csharp
await Navigation.PushAsync<MyPage>(myViewModelParam1, "bob", 4);
```

* Source generator - automatically register dependencies in `IServiceCollection` with generated code
* Source generator - automatically register dependencies in `IServiceCollection` with generated code (.NET 8 version only)

```csharp
using Maui.Plugins.PageResolver;
Expand Down Expand Up @@ -78,7 +78,7 @@ public static class PageResolverExtensions
}
```

* Lifetime attributes - override convention-based service lifetimes (singleton for services, transient for pages and ViewModels) in the source generator
* Lifetime attributes - override convention-based service lifetimes (singleton for services, transient for pages and ViewModels) in the source generator (.NET 8 version only)

```csharp
[Transient]
Expand Down

0 comments on commit f0680c6

Please sign in to comment.