Skip to content

Commit c908a84

Browse files
fix: compile errors
1 parent 61ab7c0 commit c908a84

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

src/1-Libraries/Application/Startup.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using CanBeYours.Application.Services.DemoThings;
2+
using CodeBlock.DevKit.Application.Extensions;
23
using Microsoft.Extensions.DependencyInjection;
34

45
namespace CanBeYours.Application;
@@ -7,7 +8,7 @@ public static class Startup
78
{
89
public static void AddApplicationModule(this IServiceCollection services)
910
{
10-
//services.RegisterHandlers(typeof(Startup));
11+
services.RegisterHandlers(typeof(Startup));
1112

1213
services.AddScoped<IDemoThingService, DemoThingService>();
1314
}

src/1-Libraries/Infrastructure/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using CanBeYours.Infrastructure.DbContext;
44
using CanBeYours.Infrastructure.Mapping;
55
using CanBeYours.Infrastructure.Repositories;
6-
using CodeBlock.DevKit.Infrastructure.Extensions;
6+
using CodeBlock.DevKit.Application.Extensions;
77
using CodeBlock.DevKit.Infrastructure.Mapping;
88
using FluentValidation;
99
using Microsoft.Extensions.DependencyInjection;

src/2-Clients/AdminPanel/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@using CodeBlock.DevKit.Infrastructure.Services
33
@using CodeBlock.DevKit.Web.Blazor.Server
44
@using System.Reflection
5-
@inject ModuleRegistry ModuleRegistry
5+
@inject IModuleRegistry ModuleRegistry
66
@inherits AppBase
77
<CascadingBlazoredModal HideCloseButton="false" ContentScrollable="true" DisableBackgroundCancel="true" Animation="@ModalAnimation.FadeIn(0.2)">
88
<CascadingAuthenticationState>

src/2-Clients/AdminPanel/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CanBeYours.Infrastructure;
2+
using CodeBlock.DevKit.Application.Extensions;
23
using CodeBlock.DevKit.Clients.AdminPanel;
3-
using CodeBlock.DevKit.Infrastructure.Extensions;
44

55
namespace CanBeYours.AdminPanel;
66

src/2-Clients/Api/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CanBeYours.Infrastructure;
2+
using CodeBlock.DevKit.Application.Extensions;
23
using CodeBlock.DevKit.Clients.Api;
3-
using CodeBlock.DevKit.Infrastructure.Extensions;
44

55
namespace CanBeYours.Api;
66

src/2-Clients/WebApp/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@using CodeBlock.DevKit.Web.Blazor.Server.Components
44
@using System.Reflection
55
@using CanBeYours.WebApp.Pages.Website.Shared
6-
@inject ModuleRegistry ModuleRegistry
6+
@inject IModuleRegistry ModuleRegistry
77
@inherits AppBase
88

99
<CascadingBlazoredModal HideCloseButton="false" ContentScrollable="true" DisableBackgroundCancel="true" Animation="@ModalAnimation.FadeIn(0.2)">

src/2-Clients/WebApp/Pages/Website/Shared/WebsiteLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link href="css/cb.website.spa.@(LocalizationSettings.GetCurrentLanguageDirection().ToLower()).min.css" rel="stylesheet" asp-append-version="true" />
88
</HeadContent>
99

10-
<SplashScreen BrandName="@ApplicationSettings.Localized.Name" BackgroundCssClass="simple-layout-dark-bg" ProgressBarCssClass="simple-layout-title-color" OnStarted="HandleSplashStarted" LogoUrl="@ApplicationSettings.Localized.LogoUrl" />
10+
<SplashScreen BrandName="@ApplicationSettings.Localized.Name" BackgroundCssClass="simple-layout-dark-bg" ProgressBarCssClass="simple-layout-title-color" OnStarted="HandleSplashStarted" LogoUrl="/images/logs/logo.png" />
1111

1212
@if (SplashScreenStarted)
1313
{

src/2-Clients/WebApp/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CanBeYours.Infrastructure;
2+
using CodeBlock.DevKit.Application.Extensions;
23
using CodeBlock.DevKit.Clients.WebApp;
3-
using CodeBlock.DevKit.Infrastructure.Extensions;
44

55
namespace CanBeYours.WebApp;
66

0 commit comments

Comments
 (0)