Namespace Fix undo (#340)

This commit is contained in:
Pavel Veselý
2020-04-04 20:06:24 +02:00
committed by GitHub
parent a650f3847d
commit 5af6f7a52d
222 changed files with 150 additions and 335 deletions

View File

@ -4,8 +4,6 @@ using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -4,11 +4,9 @@ using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Oqtane.Interfaces;
using Oqtane.Models;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository.Context
namespace Oqtane.Repository
{
public class DBContextBase : IdentityUserContext<IdentityUser>
{

View File

@ -1,7 +1,8 @@
using Microsoft.EntityFrameworkCore;
using System.Diagnostics.CodeAnalysis;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
namespace Oqtane.Repository.Context
namespace Oqtane.Repository
{
public class InstallationContext : DbContext

View File

@ -2,10 +2,9 @@
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Oqtane.Interfaces;
using Oqtane.Models;
namespace Oqtane.Repository.Context
namespace Oqtane.Repository
{
public class MasterDBContext : DbContext
{

View File

@ -1,9 +1,8 @@
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository.Context
namespace Oqtane.Repository
{
public class TenantDBContext : DBContextBase
{

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
using Oqtane.Shared;
namespace Oqtane.Repository

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
using Oqtane.Shared;
namespace Oqtane.Repository

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IAliasRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IFileRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IFolderRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IJobLogRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IJobRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface ILogRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IModuleDefinitionRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IModuleRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface INotificationRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IPageModuleRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IPageRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IPermissionRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IProfileRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IRoleRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface ISettingRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface ISiteRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface ISiteTemplateRepository
{

View File

@ -1,7 +1,7 @@
using System.Data.SqlClient;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface ISqlRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface ITenantRepository
{

View File

@ -1,6 +1,6 @@
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface ITenantResolver
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IThemeRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IUserRepository
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
namespace Oqtane.Repository
{
public interface IUserRoleRepository
{

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -4,8 +4,6 @@ using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -1,8 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -5,8 +5,6 @@ using System.Reflection;
using Microsoft.Extensions.Caching.Memory;
using Oqtane.Models;
using Oqtane.Modules;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
using Oqtane.Shared;
namespace Oqtane.Repository

View File

@ -7,8 +7,6 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Oqtane.Models;
using Oqtane.Modules;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
using Module = Oqtane.Models.Module;
namespace Oqtane.Repository

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
using Oqtane.Shared;
namespace Oqtane.Repository

View File

@ -5,8 +5,6 @@ using System.Text;
using System.Text.Json;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -8,8 +8,6 @@ using Microsoft.Extensions.DependencyInjection;
using Oqtane.Infrastructure.Interfaces;
using Oqtane.Models;
using Oqtane.Modules;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
using Oqtane.Shared;
using Module = Oqtane.Models.Module;

View File

@ -5,7 +5,6 @@ using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
using Oqtane.Infrastructure.Interfaces;
using Oqtane.Models;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -2,7 +2,6 @@
using System.Data;
using System.Data.SqlClient;
using Oqtane.Models;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -4,8 +4,6 @@ using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
using Oqtane.Shared;
namespace Oqtane.Repository

View File

@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Oqtane.Models;
using Oqtane.Repository.Interfaces;
using Oqtane.Shared;
namespace Oqtane.Repository

View File

@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Oqtane.Models;
using Oqtane.Repository.Interfaces;
using Oqtane.Themes;
namespace Oqtane.Repository

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{

View File

@ -2,8 +2,6 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Oqtane.Models;
using Oqtane.Repository.Context;
using Oqtane.Repository.Interfaces;
namespace Oqtane.Repository
{