Netmash rename

messaging
Tudor Stanciu 2023-01-12 01:01:36 +02:00
parent 62cca0e392
commit 869c7f92d6
73 changed files with 131 additions and 128 deletions

View File

@ -1,7 +1,7 @@
using MediatR;
using System;
namespace NDB.Application.DataContracts
namespace Netmash.Application.DataContracts
{
public interface ICommand
{

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace NDB.Application.DataContracts
namespace Netmash.Application.DataContracts
{
public class Metadata : Dictionary<string, string>
{

View File

@ -1,6 +1,6 @@
using MediatR;
namespace NDB.Application.DataContracts
namespace Netmash.Application.DataContracts
{
public abstract class Query<TResponse> : IRequest<TResponse>, IBaseRequest { }
}

View File

@ -2,7 +2,7 @@
using System.Data;
using System.Data.SqlClient;
namespace NDB.DataAccess.SqlServer
namespace Netmash.DataAccess.SqlServer
{
public abstract class BaseDataAccess
{

View File

@ -1,7 +1,7 @@
using Microsoft.Extensions.DependencyInjection;
using NDB.Extensions.Caching.Services;
using Netmash.Extensions.Caching.Services;
namespace NDB.Extensions.Caching
namespace Netmash.Extensions.Caching
{
public static class CachingExtensions
{

View File

@ -3,7 +3,7 @@ using Newtonsoft.Json;
using System.Threading;
using System.Threading.Tasks;
namespace NDB.Extensions.Caching
namespace Netmash.Extensions.Caching
{
internal static class DistributedCachingExtensions
{

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace NDB.Extensions.Caching.Services
namespace Netmash.Extensions.Caching.Services
{
internal class CacheService : ICacheService
{

View File

@ -1,7 +1,7 @@
using System.Threading;
using System.Threading.Tasks;
namespace NDB.Extensions.Caching.Services
namespace Netmash.Extensions.Caching.Services
{
public interface ICacheService
{

View File

@ -4,7 +4,7 @@ using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace NDB.Extensions.Http
namespace Netmash.Extensions.Http
{
public static class HttpClientExtensions
{

View File

@ -1,4 +1,4 @@
namespace NDB.Extensions.Swagger.Constants
namespace Netmash.Extensions.Swagger.Constants
{
public enum AuthorizationType
{

View File

@ -1,9 +1,9 @@
using Microsoft.OpenApi.Models;
using NDB.Application.DataContracts;
using Netmash.Application.DataContracts;
using Swashbuckle.AspNetCore.SwaggerGen;
using System.Linq;
namespace NDB.Extensions.Swagger.Filters
namespace Netmash.Extensions.Swagger.Filters
{
public class DtoSchemaFilter : ISchemaFilter
{

View File

@ -4,7 +4,7 @@ using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace NDB.Extensions.Swagger.Filters
namespace Netmash.Extensions.Swagger.Filters
{
public class PathParamsOperationFilter : IOperationFilter
{

View File

@ -12,8 +12,11 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NDB.Application.DataContracts" Version="1.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NDB.Application.DataContracts\Netmash.Application.DataContracts.csproj" />
</ItemGroup>
</Project>

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Http;
using System.Linq;
namespace NDB.Extensions.Swagger.ReverseProxy
namespace Netmash.Extensions.Swagger.ReverseProxy
{
public static class ReverseProxyHelper
{

View File

@ -1,14 +1,14 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
using NDB.Extensions.Swagger.Constants;
using NDB.Extensions.Swagger.Filters;
using NDB.Extensions.Swagger.ReverseProxy;
using Netmash.Extensions.Swagger.Constants;
using Netmash.Extensions.Swagger.Filters;
using Netmash.Extensions.Swagger.ReverseProxy;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.Collections.Generic;
namespace NDB.Extensions.Swagger
namespace Netmash.Extensions.Swagger
{
public static class SwaggerExtensions
{

View File

@ -4,7 +4,7 @@ using System.ServiceProcess;
using System.Threading;
using System.Threading.Tasks;
namespace NDB.Hosting.WindowsService
namespace Netmash.Hosting.WindowsService
{
public class ServiceBaseLifetime : ServiceBase, IHostLifetime
{

View File

@ -3,7 +3,7 @@ using Microsoft.Extensions.Hosting;
using System.Threading;
using System.Threading.Tasks;
namespace NDB.Hosting.WindowsService
namespace Netmash.Hosting.WindowsService
{
public static class ServiceBaseLifetimeHostExtensions
{

View File

@ -1,7 +1,7 @@
using Microsoft.Extensions.DependencyInjection;
using NDB.Logging.Api.Entities;
using Netmash.Logging.Api.Entities;
namespace NDB.Logging.Api
namespace Netmash.Logging.Api
{
public static class DependencyInjectionExtensions
{

View File

@ -1,4 +1,4 @@
namespace NDB.Logging.Api.Entities
namespace Netmash.Logging.Api.Entities
{
public class RequestLoggingConfiguration
{

View File

@ -2,14 +2,14 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
using NDB.Logging.Api.Entities;
using Netmash.Logging.Api.Entities;
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace NDB.Logging.Api
namespace Netmash.Logging.Api
{
public class RequestLoggingAttribute : ActionFilterAttribute
{

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Http;
using System;
namespace NDB.Security.Authentication.Identity.Abstractions
namespace Netmash.Security.Authentication.Identity.Abstractions
{
public interface IAuthenticationOptions
{

View File

@ -1,10 +1,10 @@
using IdentityServer.Wrapper;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.DependencyInjection;
using NDB.Security.Authentication.Identity.Abstractions;
using Netmash.Security.Authentication.Identity.Abstractions;
using System;
namespace NDB.Security.Authentication.Identity
namespace Netmash.Security.Authentication.Identity
{
public static class AuthenticationExtensions
{

View File

@ -1,4 +1,4 @@
namespace NDB.Security.Authentication.Identity.Constants
namespace Netmash.Security.Authentication.Identity.Constants
{
public struct ClaimTypes
{

View File

@ -1,4 +1,4 @@
namespace NDB.Security.Authentication.Identity.Constants
namespace Netmash.Security.Authentication.Identity.Constants
{
internal struct QueryParams
{

View File

@ -3,7 +3,7 @@ using IdentityServer.Wrapper.Services;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using NDB.Security.Authentication.Identity.Abstractions;
using Netmash.Security.Authentication.Identity.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
@ -11,9 +11,9 @@ using System.Net.Http.Headers;
using System.Security.Claims;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using c = NDB.Security.Authentication.Identity.Constants;
using c = Netmash.Security.Authentication.Identity.Constants;
namespace NDB.Security.Authentication.Identity
namespace Netmash.Security.Authentication.Identity
{
public class IdentityAuthenticationHandler : AuthenticationHandler<AuthenticationSchemeOptions>
{

View File

@ -1,8 +1,8 @@
using Microsoft.AspNetCore.Http;
using NDB.Security.Authentication.Identity.Abstractions;
using Netmash.Security.Authentication.Identity.Abstractions;
using System;
namespace NDB.Security.Authentication.Identity.Models
namespace Netmash.Security.Authentication.Identity.Models
{
public class AuthenticationOptions : IAuthenticationOptions
{

View File

@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
namespace NDB.Test.Api.Controllers
namespace Netmash.Test.Api.Controllers
{
[Authorize]
[ApiController]

View File

@ -1,10 +1,10 @@
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using NDB.Security.Authentication.Identity;
using NDB.Security.Authentication.Identity.Models;
using Netmash.Security.Authentication.Identity;
using Netmash.Security.Authentication.Identity.Models;
using System.Linq;
namespace NDB.Test.Api.Extensions
namespace Netmash.Test.Api.Extensions
{
public static class AuthenticationExtensions
{

View File

@ -9,9 +9,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\infrastructure\NDB.Infrastructure.DatabaseMigration\NDB.Infrastructure.DatabaseMigration.csproj" />
<ProjectReference Include="..\NDB.Extensions.Swagger\NDB.Extensions.Swagger.csproj" />
<ProjectReference Include="..\NDB.Security.Authentication.Identity\NDB.Security.Authentication.Identity.csproj" />
<ProjectReference Include="..\infrastructure\NDB.Infrastructure.DatabaseMigration\Netmash.Infrastructure.DatabaseMigration.csproj" />
<ProjectReference Include="..\NDB.Extensions.Swagger\Netmash.Extensions.Swagger.csproj" />
<ProjectReference Include="..\NDB.Security.Authentication.Identity\Netmash.Security.Authentication.Identity.csproj" />
</ItemGroup>
<ItemGroup>

View File

@ -3,7 +3,7 @@ using Microsoft.Extensions.Hosting;
using System.Diagnostics;
using System.IO;
namespace NDB.Test.Api
namespace Netmash.Test.Api
{
public class Program
{

View File

@ -3,13 +3,13 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NDB.Extensions.Swagger;
using NDB.Extensions.Swagger.Constants;
using NDB.Infrastructure.DatabaseMigration;
using NDB.Infrastructure.DatabaseMigration.Constants;
using NDB.Test.Api.Extensions;
using Netmash.Extensions.Swagger;
using Netmash.Extensions.Swagger.Constants;
using Netmash.Infrastructure.DatabaseMigration;
using Netmash.Infrastructure.DatabaseMigration.Constants;
using Netmash.Test.Api.Extensions;
namespace NDB.Test.Api
namespace Netmash.Test.Api
{
public class Startup
{

26
NDB.sln
View File

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Hosting.WindowsService", "NDB.Hosting.WindowsService\NDB.Hosting.WindowsService.csproj", "{F4AB0B71-6B14-402B-8B05-128AFB3E06D9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Hosting.WindowsService", "NDB.Hosting.WindowsService\Netmash.Hosting.WindowsService.csproj", "{F4AB0B71-6B14-402B-8B05-128AFB3E06D9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{04D62D10-F984-44D7-8B26-8D055A4CBAF8}"
ProjectSection(SolutionItems) = preProject
@ -14,9 +14,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
NuGet.config = NuGet.config
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Logging.Api", "NDB.Logging.Api\NDB.Logging.Api.csproj", "{74E221BE-C097-468B-93E4-AAE1B2173C49}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Logging.Api", "NDB.Logging.Api\Netmash.Logging.Api.csproj", "{74E221BE-C097-468B-93E4-AAE1B2173C49}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.DataAccess.SqlServer", "NDB.DataAccess.SqlServer\NDB.DataAccess.SqlServer.csproj", "{95AF4B47-2C84-44C1-BD25-297F09A48BED}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.DataAccess.SqlServer", "NDB.DataAccess.SqlServer\Netmash.DataAccess.SqlServer.csproj", "{95AF4B47-2C84-44C1-BD25-297F09A48BED}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E0202271-4E92-4DB8-900D-B5FD745B9278}"
EndProject
@ -24,15 +24,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "extensions", "extensions",
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "swagger", "swagger", "{FB4E71FD-9E32-4B5C-8019-1E8EBB9DDE9F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Extensions.Swagger", "NDB.Extensions.Swagger\NDB.Extensions.Swagger.csproj", "{CB9BDFCC-DB01-4A13-8091-9A241BE85CCD}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Extensions.Swagger", "NDB.Extensions.Swagger\Netmash.Extensions.Swagger.csproj", "{CB9BDFCC-DB01-4A13-8091-9A241BE85CCD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "application", "application", "{564B5266-6F7E-4AFA-A7D4-B0E8F2E7107E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Application.DataContracts", "NDB.Application.DataContracts\NDB.Application.DataContracts.csproj", "{BDDC2DB1-96DD-49F4-BCEF-55D06B74E6F3}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Application.DataContracts", "NDB.Application.DataContracts\Netmash.Application.DataContracts.csproj", "{BDDC2DB1-96DD-49F4-BCEF-55D06B74E6F3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "http", "http", "{C1301480-5C4C-4F73-8D26-DD3E798FAFD5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Extensions.Http", "NDB.Extensions.Http\NDB.Extensions.Http.csproj", "{28D5CE9E-D975-4842-8B30-5063B82979C6}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Extensions.Http", "NDB.Extensions.Http\Netmash.Extensions.Http.csproj", "{28D5CE9E-D975-4842-8B30-5063B82979C6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "data", "data", "{7D49E538-B89A-4BC2-AD5A-5A658F4B74E4}"
EndProject
@ -46,25 +46,25 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "security", "security", "{42
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "authentication", "authentication", "{B8132F39-6677-4D70-84CA-9747DC9086B3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Security.Authentication.Identity", "NDB.Security.Authentication.Identity\NDB.Security.Authentication.Identity.csproj", "{5C0637C8-6BA4-4EAE-97CA-BB8D98B2991A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Security.Authentication.Identity", "NDB.Security.Authentication.Identity\Netmash.Security.Authentication.Identity.csproj", "{5C0637C8-6BA4-4EAE-97CA-BB8D98B2991A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "caching", "caching", "{A206A484-3ACF-4032-8B36-AC93A72B0B88}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Extensions.Caching", "NDB.Extensions.Caching\NDB.Extensions.Caching.csproj", "{3E045EE6-A290-467C-B503-3A6CB0065C97}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Extensions.Caching", "NDB.Extensions.Caching\Netmash.Extensions.Caching.csproj", "{3E045EE6-A290-467C-B503-3A6CB0065C97}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{CCEE458E-02A8-42FD-8F5F-A35481A23303}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Test.Api", "NDB.Test.Api\NDB.Test.Api.csproj", "{F717BE3D-F5F4-4D99-B96D-D0A23E8BED01}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Test.Api", "NDB.Test.Api\Netmash.Test.Api.csproj", "{F717BE3D-F5F4-4D99-B96D-D0A23E8BED01}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Infrastructure.DatabaseMigration", "infrastructure\NDB.Infrastructure.DatabaseMigration\NDB.Infrastructure.DatabaseMigration.csproj", "{74C7BE02-DD5C-49C2-8E88-E3AEA729E2AB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Infrastructure.DatabaseMigration", "infrastructure\NDB.Infrastructure.DatabaseMigration\Netmash.Infrastructure.DatabaseMigration.csproj", "{74C7BE02-DD5C-49C2-8E88-E3AEA729E2AB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Data.EntityFramework", "src\data\NDB.Data.EntityFramework\NDB.Data.EntityFramework.csproj", "{15650720-30F3-4FF3-8D4A-9B21BBA5E273}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Data.EntityFramework", "src\data\NDB.Data.EntityFramework\Netmash.Data.EntityFramework.csproj", "{15650720-30F3-4FF3-8D4A-9B21BBA5E273}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "core", "core", "{FD5D4A32-E6A7-4808-B43E-A906B1B81956}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Core.Abstractions", "src\core\NDB.Core.Abstractions\NDB.Core.Abstractions.csproj", "{A15F25DD-2B42-49AB-BBA8-E9D9B78630A1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Core.Abstractions", "src\core\NDB.Core.Abstractions\Netmash.Core.Abstractions.csproj", "{A15F25DD-2B42-49AB-BBA8-E9D9B78630A1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Infrastructure.PublicIP", "infrastructure\NDB.Infrastructure.PublicIP\NDB.Infrastructure.PublicIP.csproj", "{A02F1468-85EC-4AFC-999C-94B3138184B9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Infrastructure.PublicIP", "infrastructure\NDB.Infrastructure.PublicIP\Netmash.Infrastructure.PublicIP.csproj", "{A02F1468-85EC-4AFC-999C-94B3138184B9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Constants
namespace Netmash.Infrastructure.DatabaseMigration.Constants
{
public enum DatabaseType
{

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Constants
namespace Netmash.Infrastructure.DatabaseMigration.Constants
{
internal struct ManifestResourcesPath
{

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Constants
namespace Netmash.Infrastructure.DatabaseMigration.Constants
{
public enum MetadataLocation
{

View File

@ -1,8 +1,8 @@
using Microsoft.EntityFrameworkCore;
using NDB.Infrastructure.DatabaseMigration.Entities;
using NDB.Infrastructure.DatabaseMigration.Entities.Configurations;
using Netmash.Infrastructure.DatabaseMigration.Entities;
using Netmash.Infrastructure.DatabaseMigration.Entities.Configurations;
namespace NDB.Infrastructure.DatabaseMigration.DbContexts
namespace Netmash.Infrastructure.DatabaseMigration.DbContexts
{
internal class MigrationDbContext : DbContext
{

View File

@ -2,15 +2,15 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NDB.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.DbContexts;
using NDB.Infrastructure.DatabaseMigration.Models;
using NDB.Infrastructure.DatabaseMigration.Repositories;
using NDB.Infrastructure.DatabaseMigration.Services;
using NDB.Infrastructure.DatabaseMigration.Services.Abstractions;
using Netmash.Infrastructure.DatabaseMigration.Constants;
using Netmash.Infrastructure.DatabaseMigration.DbContexts;
using Netmash.Infrastructure.DatabaseMigration.Models;
using Netmash.Infrastructure.DatabaseMigration.Repositories;
using Netmash.Infrastructure.DatabaseMigration.Services;
using Netmash.Infrastructure.DatabaseMigration.Services.Abstractions;
using System;
namespace NDB.Infrastructure.DatabaseMigration
namespace Netmash.Infrastructure.DatabaseMigration
{
public static class DependencyInjectionExtensions
{

View File

@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace NDB.Infrastructure.DatabaseMigration.Entities.Configurations
namespace Netmash.Infrastructure.DatabaseMigration.Entities.Configurations
{
internal class MigratedScriptConfiguration : IEntityTypeConfiguration<MigratedScript>
{

View File

@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace NDB.Infrastructure.DatabaseMigration.Entities.Configurations
namespace Netmash.Infrastructure.DatabaseMigration.Entities.Configurations
{
internal class MigratedVersionConfiguration : IEntityTypeConfiguration<MigratedVersion>
{

View File

@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace NDB.Infrastructure.DatabaseMigration.Entities.Configurations
namespace Netmash.Infrastructure.DatabaseMigration.Entities.Configurations
{
internal class MigrationSignatureConfiguration : IEntityTypeConfiguration<MigrationSignature>
{

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Entities
namespace Netmash.Infrastructure.DatabaseMigration.Entities
{
internal class MigratedScript
{

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace NDB.Infrastructure.DatabaseMigration.Entities
namespace Netmash.Infrastructure.DatabaseMigration.Entities
{
internal class MigratedVersion
{

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace NDB.Infrastructure.DatabaseMigration.Entities
namespace Netmash.Infrastructure.DatabaseMigration.Entities
{
internal class MigrationSignature
{

View File

@ -1,8 +1,8 @@
using System.Linq;
using e = NDB.Infrastructure.DatabaseMigration.Entities;
using m = NDB.Infrastructure.DatabaseMigration.Models;
using e = Netmash.Infrastructure.DatabaseMigration.Entities;
using m = Netmash.Infrastructure.DatabaseMigration.Models;
namespace NDB.Infrastructure.DatabaseMigration.Extensions
namespace Netmash.Infrastructure.DatabaseMigration.Extensions
{
internal static class Mappings
{

View File

@ -1,6 +1,6 @@
using System;
namespace NDB.Infrastructure.DatabaseMigration.Models
namespace Netmash.Infrastructure.DatabaseMigration.Models
{
public class MigrationThumbprint
{

View File

@ -1,6 +1,6 @@
using NDB.Infrastructure.DatabaseMigration.Constants;
using Netmash.Infrastructure.DatabaseMigration.Constants;
namespace NDB.Infrastructure.DatabaseMigration.Models
namespace Netmash.Infrastructure.DatabaseMigration.Models
{
internal class ServiceConfiguration
{

View File

@ -1,8 +1,8 @@
using NDB.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.Entities;
using Netmash.Infrastructure.DatabaseMigration.Constants;
using Netmash.Infrastructure.DatabaseMigration.Entities;
using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Repositories
namespace Netmash.Infrastructure.DatabaseMigration.Repositories
{
internal interface IMigrationRepository
{

View File

@ -1,12 +1,12 @@
using Microsoft.EntityFrameworkCore;
using NDB.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.DbContexts;
using NDB.Infrastructure.DatabaseMigration.Entities;
using Netmash.Infrastructure.DatabaseMigration.Constants;
using Netmash.Infrastructure.DatabaseMigration.DbContexts;
using Netmash.Infrastructure.DatabaseMigration.Entities;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Repositories
namespace Netmash.Infrastructure.DatabaseMigration.Repositories
{
internal class MigrationRepository : IMigrationRepository
{

View File

@ -1,6 +1,6 @@
using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Services.Abstractions
namespace Netmash.Infrastructure.DatabaseMigration.Services.Abstractions
{
internal interface IMetadataLocationService
{

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.DatabaseMigration.Services.Abstractions
namespace Netmash.Infrastructure.DatabaseMigration.Services.Abstractions
{
public interface IMigrationService
{

View File

@ -1,7 +1,7 @@
using NDB.Infrastructure.DatabaseMigration.Models;
using Netmash.Infrastructure.DatabaseMigration.Models;
using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Services.Abstractions
namespace Netmash.Infrastructure.DatabaseMigration.Services.Abstractions
{
internal interface IMigrationSignaturesService
{

View File

@ -1,16 +1,16 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NDB.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.Models;
using NDB.Infrastructure.DatabaseMigration.Repositories;
using NDB.Infrastructure.DatabaseMigration.Services.Abstractions;
using Netmash.Infrastructure.DatabaseMigration.Constants;
using Netmash.Infrastructure.DatabaseMigration.Models;
using Netmash.Infrastructure.DatabaseMigration.Repositories;
using Netmash.Infrastructure.DatabaseMigration.Services.Abstractions;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Services
namespace Netmash.Infrastructure.DatabaseMigration.Services
{
internal class MetadataLocationService : IMetadataLocationService
{

View File

@ -1,15 +1,15 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NDB.Infrastructure.DatabaseMigration.Models;
using NDB.Infrastructure.DatabaseMigration.Repositories;
using NDB.Infrastructure.DatabaseMigration.Services.Abstractions;
using Netmash.Infrastructure.DatabaseMigration.Models;
using Netmash.Infrastructure.DatabaseMigration.Repositories;
using Netmash.Infrastructure.DatabaseMigration.Services.Abstractions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace NDB.Infrastructure.DatabaseMigration.Services
namespace Netmash.Infrastructure.DatabaseMigration.Services
{
internal class MigrationService : IMigrationService
{

View File

@ -1,9 +1,9 @@
using Microsoft.Extensions.DependencyInjection;
using NDB.Infrastructure.DatabaseMigration.Constants;
using NDB.Infrastructure.DatabaseMigration.Extensions;
using NDB.Infrastructure.DatabaseMigration.Models;
using NDB.Infrastructure.DatabaseMigration.Repositories;
using NDB.Infrastructure.DatabaseMigration.Services.Abstractions;
using Netmash.Infrastructure.DatabaseMigration.Constants;
using Netmash.Infrastructure.DatabaseMigration.Extensions;
using Netmash.Infrastructure.DatabaseMigration.Models;
using Netmash.Infrastructure.DatabaseMigration.Repositories;
using Netmash.Infrastructure.DatabaseMigration.Services.Abstractions;
using System;
using System.Collections.Generic;
using System.IO;
@ -12,7 +12,7 @@ using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace NDB.Infrastructure.DatabaseMigration.Services
namespace Netmash.Infrastructure.DatabaseMigration.Services
{
internal class MigrationSignaturesService : IMigrationSignaturesService
{

View File

@ -1,7 +1,7 @@
using Microsoft.Extensions.DependencyInjection;
using NDB.Infrastructure.PublicIP.Services;
using Netmash.Infrastructure.PublicIP.Services;
namespace NDB.Infrastructure.PublicIP
namespace Netmash.Infrastructure.PublicIP
{
public static class DependencyInjectionExtensions
{

View File

@ -1,4 +1,4 @@
namespace NDB.Infrastructure.PublicIP.Entities
namespace Netmash.Infrastructure.PublicIP.Entities
{
public class IPInfo
{

View File

@ -1,7 +1,7 @@
using NDB.Infrastructure.PublicIP.Entities;
using Netmash.Infrastructure.PublicIP.Entities;
using System.Threading.Tasks;
namespace NDB.Infrastructure.PublicIP.Services
namespace Netmash.Infrastructure.PublicIP.Services
{
public interface IPublicIPService
{

View File

@ -1,9 +1,9 @@
using NDB.Infrastructure.PublicIP.Entities;
using Netmash.Infrastructure.PublicIP.Entities;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
namespace NDB.Infrastructure.PublicIP.Services
namespace Netmash.Infrastructure.PublicIP.Services
{
public class PublicIPService : IPublicIPService
{

View File

@ -1,4 +1,4 @@
namespace NDB.Core.Abstractions.Paging
namespace Netmash.Core.Abstractions.Paging
{
public class PageRequest
{

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
namespace NDB.Core.Abstractions.Paging
namespace Netmash.Core.Abstractions.Paging
{
public class PagedResult<TEntity>
{

View File

@ -2,7 +2,7 @@
using System.Linq;
using System.Linq.Expressions;
namespace NDB.Data.EntityFramework.Extensions
namespace Netmash.Data.EntityFramework.Extensions
{
public static class LinqExtensions
{

View File

@ -1,10 +1,10 @@
using Microsoft.EntityFrameworkCore;
using NDB.Core.Abstractions.Paging;
using Netmash.Core.Abstractions.Paging;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace NDB.Data.EntityFramework.Extensions
namespace Netmash.Data.EntityFramework.Extensions
{
public static class PagedResultExtensions
{

View File

@ -16,7 +16,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\core\NDB.Core.Abstractions\NDB.Core.Abstractions.csproj" />
<ProjectReference Include="..\..\core\NDB.Core.Abstractions\Netmash.Core.Abstractions.csproj" />
</ItemGroup>
</Project>