Added app loaders and screen for the ui. Added identity service. Started auth screens
This commit is contained in:
7
Moonlight.Client/Interfaces/IAppLoader.cs
Normal file
7
Moonlight.Client/Interfaces/IAppLoader.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Moonlight.Client.Interfaces;
|
||||
|
||||
public interface IAppLoader
|
||||
{
|
||||
public int Priority { get; }
|
||||
public Task Load(IServiceProvider serviceProvider);
|
||||
}
|
||||
10
Moonlight.Client/Interfaces/IAppScreen.cs
Normal file
10
Moonlight.Client/Interfaces/IAppScreen.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace Moonlight.Client.Interfaces;
|
||||
|
||||
public interface IAppScreen
|
||||
{
|
||||
public int Priority { get; }
|
||||
public Task<bool> ShouldRender(IServiceProvider serviceProvider);
|
||||
public RenderFragment Render();
|
||||
}
|
||||
Reference in New Issue
Block a user