Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/architecture/maui/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ This interface specifies that an implementing class must provide the following m
The `MauiNavigationService` class, which implements the `INavigationService` interface, is registered as a singleton with the dependency injection container in the `MauiProgram.CreateMauiApp()` method, as demonstrated in the following code example:

```csharp
mauiAppBuilder.Services.AddSingleton<INavigationService, MauiNavigationService>();;
mauiAppBuilder.Services.AddSingleton<INavigationService, MauiNavigationService>();
```

The `INavigationService` interface can then be resolved by adding it to the constructor of our views and view-models, as demonstrated in the following code example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ using Microsoft.Extensions.Hosting;
await Host.CreateDefaultBuilder(args)
.UseOrleans(siloBuilder =>
{
siloBuilder.UseLocalhostClustering();;
siloBuilder.UseLocalhostClustering();
})
.RunConsoleAsync();
```
Expand Down
Loading