Change namespace of abstractions
This commit is contained in:
parent
d138baae67
commit
78da00a83d
19 changed files with 24 additions and 20 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Semver;
|
||||
|
||||
namespace LANCommander.Server.Services;
|
||||
namespace LANCommander.Server.Services.Abstractions;
|
||||
|
||||
public interface IVersionProvider
|
||||
{
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
using BeaconLib;
|
||||
using LANCommander.Server.Models;
|
||||
using LANCommander.Server.Services.Abstractions;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using LANCommander.Server.Services;
|
||||
using LANCommander.Server.Services.Abstractions;
|
||||
using Semver;
|
||||
|
||||
namespace LANCommander.Server.Tests.Mocks;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using LANCommander.Server.Services;
|
||||
using LANCommander.Server.Services.Abstractions;
|
||||
|
||||
namespace LANCommander.Server
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
@inherits FeedbackComponent<MediaGrabberOptions, MediaGrabberResult>
|
||||
@using LANCommander.Server.Services.Abstractions
|
||||
@using LANCommander.SDK.Enums
|
||||
@inject IMediaGrabberService MediaGrabberService
|
||||
@inject IMessageService MessageService
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
@page "/Settings/Updates"
|
||||
@using LANCommander.Server.Services.Abstractions
|
||||
@using Markdig
|
||||
@using Octokit
|
||||
@using Semver
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
@inherits LayoutComponentBase
|
||||
@using LANCommander.Server.Services.Abstractions
|
||||
@inherits LayoutComponentBase
|
||||
@inject IVersionProvider VersionProvider
|
||||
|
||||
<Layout Class="layout">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue