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