Moved implement and inject notation to partial class.
This commit is contained in:
parent
3c63ebc613
commit
b311206ff1
@ -1,9 +1,4 @@
|
||||
@using System.Reflection
|
||||
@inject IHttpClientFactory HttpFactory
|
||||
@implements IDisposable
|
||||
|
||||
|
||||
<CascadingAuthenticationState>
|
||||
<CascadingAuthenticationState>
|
||||
<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
|
||||
<Found Context="routeData">
|
||||
@if (modulesLoaded)
|
||||
|
@ -12,8 +12,11 @@ using MultiShop.Shop.Framework;
|
||||
|
||||
namespace MultiShop.Client
|
||||
{
|
||||
public partial class App
|
||||
public partial class App : IDisposable
|
||||
{
|
||||
[Inject]
|
||||
private IHttpClientFactory HttpFactory { get; set; }
|
||||
|
||||
[Inject]
|
||||
private ILogger<App> Logger {get; set; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user