Skip to content

Commit

Permalink
Update RxMudBlazorLight
Browse files Browse the repository at this point in the history
Update dependency
  • Loading branch information
b-straub committed Apr 21, 2024
1 parent 4594ca4 commit 50fc5bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DexieNETCloudSample/DexieNETCloudSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.2" PrivateAssets="all" />
<PackageReference Include="RxMudBlazorLight" Version="0.8.4" />
<PackageReference Include="RxMudBlazorLight" Version="0.8.5" />
</ItemGroup>

<ItemGroup>
Expand Down
11 changes: 5 additions & 6 deletions DexieNETCloudSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@
});

builder.Services.AddDexieNET<ToDoDB>();
var collector = builder.Services.AddRxBLServiceCollector();

builder.Services.AddRxBLService(collector, sp => new DexieCloudService(sp));
builder.Services.AddRxBLService(collector, sp => new AdministrationService(sp));
builder.Services.AddRxBLService(collector, sp => new ToDoItemService(sp));
builder.Services.AddRxBLService(collector, sp => new ToDoListService(sp));
builder.Services.AddRxBLService(collector, sp => new ToDoListMemberService(sp));
builder.Services.AddSingleton(sp => new DexieCloudService(sp));
builder.Services.AddSingleton(sp => new AdministrationService(sp));
builder.Services.AddSingleton(sp => new ToDoItemService(sp));
builder.Services.AddSingleton(sp => new ToDoListService(sp));
builder.Services.AddSingleton(sp => new ToDoListMemberService(sp));

await builder.LoadConfigurationAsync(); // also adds HttpClient

Expand Down
1 change: 0 additions & 1 deletion DexieNETCloudSample/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<MudThemeProvider />
<MudDialogProvider />
<MudSnackbarProvider />
<RxBLServiceContext />

<MudLayout>
<MudAppBar Elevation="0">
Expand Down

0 comments on commit 50fc5bb

Please sign in to comment.