Change namespace of abstractions

This commit is contained in:
Pat Hartl 2025-03-16 14:35:53 -05:00
parent d138baae67
commit 78da00a83d
19 changed files with 24 additions and 20 deletions

View file

@ -1,13 +1,9 @@
using LANCommander.Server.Data;
using LANCommander.Server.Data.Enums;
using LANCommander.Server.Data.Enums;
using LANCommander.Server.Data.Models;
using LANCommander.Server.Models;
using LANCommander.Server.Services.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System.Linq.Expressions;
namespace LANCommander.Server.Services
namespace LANCommander.Server.Services.Abstractions
{
public interface IBaseDatabaseService<T> where T : class, IBaseModel
{

View file

@ -1,7 +1,7 @@
using LANCommander.SDK.Enums;
using LANCommander.Server.Services.Models;
namespace LANCommander.Server.Services
namespace LANCommander.Server.Services.Abstractions
{
public interface IMediaGrabberService
{

View file

@ -1,6 +1,6 @@
using Semver;
namespace LANCommander.Server.Services;
namespace LANCommander.Server.Services.Abstractions;
public interface IVersionProvider
{

View file

@ -1,5 +1,6 @@
using BeaconLib;
using LANCommander.Server.Models;
using LANCommander.Server.Services.Abstractions;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

View file

@ -1,8 +1,8 @@
using craftersmine.SteamGridDBNet;
using LANCommander.Server.Models;
using LANCommander.SDK.Enums;
using LANCommander.Steam;
using System.Net.Mime;
using LANCommander.Server.Services.Abstractions;
using LANCommander.Server.Services.Models;
namespace LANCommander.Server.Services.MediaGrabbers

View file

@ -8,6 +8,7 @@ using System.Net;
using System.Reflection;
using System.Runtime.InteropServices;
using AutoMapper;
using LANCommander.Server.Services.Abstractions;
using LANCommander.Server.Services.Exceptions;
using LANCommander.Server.Services.Models;
using ZiggyCreatures.Caching.Fusion;

View file

@ -1,6 +1,5 @@
using AutoMapper;
using AutoMapper.QueryableExtensions;
using LANCommander.Server.Data;
using LANCommander.Server.Data.Enums;
using LANCommander.Server.Data.Models;
using LANCommander.Server.Services.Factories;
@ -9,8 +8,8 @@ using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System.Linq.Expressions;
using LANCommander.Server.Services.Abstractions;
using LANCommander.Server.Services.Exceptions;
using LANCommander.Server.Services.Extensions;
using ZiggyCreatures.Caching.Fusion;
namespace LANCommander.Server.Services

View file

@ -7,6 +7,7 @@ using Microsoft.Extensions.Logging;
using System.Linq.Expressions;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using LANCommander.Server.Services.Abstractions;
using Microsoft.AspNetCore.Http;
using ZiggyCreatures.Caching.Fusion;

View file

@ -1,6 +1,6 @@
using System.Data.Common;
using LANCommander.Server.Data;
using LANCommander.Server.Services;
using LANCommander.Server.Services.Abstractions;
using LANCommander.Server.Tests.Mocks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;

View file

@ -1,4 +1,4 @@
using LANCommander.Server.Services;
using LANCommander.Server.Services.Abstractions;
using Semver;
namespace LANCommander.Server.Tests.Mocks;

View file

@ -1,6 +1,6 @@
using LANCommander.SDK.Models;
using LANCommander.Server.Providers;
using LANCommander.Server.Services;
using LANCommander.Server.Services.Abstractions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Semver;

View file

@ -1,4 +1,4 @@
using LANCommander.Server.Services;
using LANCommander.Server.Services.Abstractions;
namespace LANCommander.Server
{

View file

@ -1,6 +1,7 @@
using System.Diagnostics;
using System.Reflection;
using LANCommander.Server.Services;
using LANCommander.Server.Services.Abstractions;
using Semver;
namespace LANCommander.Server.Providers;

View file

@ -1,5 +1,6 @@
using LANCommander.Server.Providers;
using LANCommander.Server.Services;
using LANCommander.Server.Services.Abstractions;
using LANCommander.Server.Services.Extensions;
using LANCommander.Server.Services.Models;
using Serilog;

View file

@ -1,4 +1,5 @@
@inherits FeedbackComponent<MediaGrabberOptions, MediaGrabberResult>
@using LANCommander.Server.Services.Abstractions
@using LANCommander.SDK.Enums
@inject IMediaGrabberService MediaGrabberService
@inject IMessageService MessageService

View file

@ -8,7 +8,6 @@
@inject PageService PageService
@inject UpdateService UpdateService
@inject StorageLocationService StorageLocationService
@inject IVersionProvider VersionProvider
@inject IMessageService MessageService
@inject IFusionCache FusionCache
@inject ILogger<Index> Logger

View file

@ -1,4 +1,5 @@
@page "/Settings/Updates"
@using LANCommander.Server.Services.Abstractions
@using Markdig
@using Octokit
@using Semver

View file

@ -1,4 +1,5 @@
@inherits LayoutComponentBase
@using LANCommander.Server.Services.Abstractions
@inherits LayoutComponentBase
@inject IVersionProvider VersionProvider
<Layout Class="layout">

View file

@ -1,4 +1,4 @@
@using LANCommander.Server.Providers
@using LANCommander.Server.Services.Abstractions
@inherits LayoutComponentBase
@inject IVersionProvider VersionProvider
@inject NavigationManager NavigationManager
@ -9,9 +9,11 @@
<Flex Vertical Justify="FlexJustify.SpaceBetween" Gap="FlexGap.Large" Class="layout-wrapper" >
<ErrorHandler Title="Unexpected Error">
<Body>
<Content>
<Content>
<ServerProcessMonitor>
@Body
</Content>
</ServerProcessMonitor>
</Content>
</Body>
<Extra>
<Button Type="ButtonType.Primary" OnClick="@(() => NavigationManager.Refresh())">Refresh</Button>