Skip to content

Commit

Permalink
updated namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Jan 2, 2025
1 parent db3b627 commit efa5dcb
Show file tree
Hide file tree
Showing 131 changed files with 125 additions and 932 deletions.
2 changes: 1 addition & 1 deletion Source/Modules/Channels/Features/ChannelsModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Shared.Features.Modules;
using System.Reflection;

namespace Modules.Subscriptions.Features
namespace Modules.Channels.Features
{
public class ChannelsModule : IModule
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Modules.Channels.Features.Infrastructure.EFCore;
using Modules.Subscriptions.Features;
using Shared.Features.Messaging.Command;
using Shared.Features.Messaging.Command;
using Shared.Features.Server;

namespace Modules.Channels.Features.DomainFeatures.Channels.Application.Commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Modules.Channels.Features.Infrastructure.EFCore;
using Modules.Subscriptions.Features;
using Shared.Features.Messaging.Query;
using Shared.Features.Messaging.Query;
using Shared.Features.Server;

namespace Modules.Channels.Features.DomainFeatures.Channels.Application.Queries
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Modules.Channels.Features.Infrastructure.EFCore;
using Modules.Subscriptions.Features;
using Shared.Features.Messaging.Query;
using Shared.Features.Messaging.Query;
using Shared.Features.Server;

namespace Modules.Channels.Features.DomainFeatures.Channels.Application.Queries
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Microsoft.EntityFrameworkCore;
using Modules.Channels.Features.Infrastructure.EFCore;
using Modules.Subscriptions.Features;
using Shared.Features.Messaging.Query;
using Shared.Features.Messaging.Query;
using Shared.Features.Server;

namespace Modules.Channels.Features.DomainFeatures.Channels.Application.Queries
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Modules.Channels.Web.Shared.DTOs.ChannelAggregate
namespace Modules.Channels.Public.DTOs.ChannelAggregate
{
public class ChannelDTO
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Modules.Channels.Web.Shared.DTOs.ChannelAggregate
namespace Modules.Channels.Public.DTOs.ChannelAggregate
{
public class MessageDTO
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Components;
using Modules.Channels.Web.Shared.DTOs.ChannelAggregate;
using Modules.Channels.Public.DTOs.ChannelAggregate;

namespace Modules.Channels.Web.Client.Components
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Modules.Channels.Web.Web.Client.Modals
namespace Modules.Channels.Web.Client.Modals
{
//public partial class CreateChannelModal : BaseComponent
//{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using AutoMapper;
using Shared.Features.Messaging.Query;
using Shared.Features.Messaging.Command;
using Modules.Channels.Features.DomainFeatures.Channels;
using Modules.Channels.Features.DomainFeatures.Channels.Application.Commands;
using Modules.Channels.Features.DomainFeatures.Channels.Application.Queries;
using Shared.Kernel.BuildingBlocks.Authorization.Attributes;
using Modules.Channels.Web.Shared.DTOs.ChannelAggregate;
using Shared.Features.Server;
using Modules.Channels.Public.DTOs.ChannelAggregate;
using Shared.Kernel.BuildingBlocks.Auth.Attributes;

namespace Modules.Channels.Web.Server.Controllers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components;

namespace Modules.LandingPages.Web.Server.Components
namespace Modules.LandingPages.Server.Components
{
public partial class SignInModal : ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components;

namespace Modules.LandingPages.Web.Server.Components
namespace Modules.LandingPages.Server.Components
{
public partial class SignUpModal
{
Expand Down
4 changes: 2 additions & 2 deletions Source/Modules/LandingPages/Web/Server/LandingPagesApp.razor
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Routing;
@using Modules.LandingPages.Web.Server;
@using Modules.LandingPages.Web.Server.Pages;
@using Modules.LandingPages.Server;
@using Modules.LandingPages.Server.Pages;
@using Blazored.Modal;

<CascadingBlazoredModal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Blazored.Modal.Services;
using Microsoft.AspNetCore.Components;

namespace Modules.LandingPages.Web.Server
namespace Modules.LandingPages.Server
{
public partial class LandingPageLayout
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Blazored.Modal.Services;
using Microsoft.AspNetCore.Components;

namespace Modules.LandingPages.Web.Server.Pages
namespace Modules.LandingPages.Server.Pages
{
public partial class LandingPage : ComponentBase
{
Expand Down Expand Up @@ -57,7 +57,7 @@ private async Task CarouselInitAsync()
return;
}
var currentIndex = (int)SelectedFeature;
SelectedFeature = (FeatureSection)((currentIndex % 4) + 1);
SelectedFeature = (FeatureSection)(currentIndex % 4 + 1);
StateHasChanged();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Blazored.Modal;
using Microsoft.AspNetCore.Components;

namespace Modules.LandingPages.Web.Server.Pages
namespace Modules.LandingPages.Server.Pages
{
public partial class PricingPage : ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Modules.TenantIdentity.IntegrationEvents;
using Modules.TenantIdentity.Public;
using Shared.Features.Messaging.IntegrationEvent;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeCustomers.Aplication.IntegrationEventHandlers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Modules.Subscriptions.Features.Infrastructure.EFCore;
using Shared.Features.Messaging.Query;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeCustomers.Application.Queries
namespace Modules.Subscriptions.Features.DomainFeatures.StripeCustomers.Aplication.Queries
{
public class GetStripeCustomerByStripePortalId : Query<StripeCustomer>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscriptions.IntegrationEvents;
using Modules.Subscriptions.Public;
using Shared.Features.Messaging.Command;
using Shared.Features.Server;
using Stripe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Modules.Subscriptions.Features.Infrastructure.StripePayments;
using Shared.Features.Configuration;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;

namespace Modules.Subscriptions.Features.Infrastructure.Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using Shared.Kernel.BuildingBlocks;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;

namespace Modules.Subscriptions.IntegrationEvents
namespace Modules.Subscriptions.Public
{
public class TenantSubscriptionPlanUpdatedIntegrationEvent : IIntegrationEvent
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Microsoft.AspNetCore.Mvc;
using Modules.Subscriptions.Features.Infrastructure.StripePayments;
using Shared.Features.Server;
using Shared.Kernel.BuildingBlocks.Auth.Attributes;
using Shared.Kernel.DomainKernel;
using Shared.Kernel.BuildingBlocks.Authorization.Attributes;

namespace Modules.Subscriptions.Server.Controllers
namespace Modules.Subscriptions.Web.Server.Controllers
{
[Route("api/[controller]")]
[ApiController]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
using Modules.Subscriptions.Features.DomainFeatures.StripeCustomers;
using Shared.Features.Server;
using Shared.Kernel.BuildingBlocks.Auth;
using Modules.Subscriptions.Features.DomainFeatures.StripeCustomers.Application.Queries;
using Modules.Subscriptions.Features.DomainFeatures.StripeCustomers.Aplication.Queries;

namespace Modules.Subscriptions.Server.Controllers
namespace Modules.Subscriptions.Web.Server.Controllers
{
[Route("api/[controller]")]
[ApiController]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Modules.Subscriptions.Features;
using Modules.Subscriptions.Features.DomainFeatures.StripeSubscriptions.Application.Commands;

namespace Modules.Subscriptions.Server.WebHooks
namespace Modules.Subscriptions.Web.Server.WebHooks
{
[Route("api/[controller]")]
[ApiController]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Shared.Features.EFCore;
using Shared.Features.Messaging.Command;
using Shared.Features.Server;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;
using System;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain;
using Modules.TenantIdentity.Shared.DTOs.Tenant;
using Modules.TenantIdentity.Public.DTOs.Tenant;
using Shared.Features.Messaging.Command;
using Shared.Features.Server;
using System;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading;
using Shared.Features.Server;
using Shared.Kernel.Errors;
using Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain;
using System;
using System.Threading.Tasks;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Shared.Features.Messaging.Command;
using Shared.Features.Server;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;
using System;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscriptions.IntegrationEvents;
using Modules.Subscriptions.Public;
using Shared.Features.Messaging.IntegrationEvent;
using Shared.Features.Server;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Modules.TenantIdentity.Shared.DTOs.Tenant;
using Modules.TenantIdentity.Public.DTOs.Tenant;
using Shared.Features.Messaging.Query;
using Shared.Features.Server;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Modules.TenantIdentity.Shared.DTOs.Tenant;
using Modules.TenantIdentity.Public.DTOs.Tenant;
using Shared.Features.Messaging.Query;
using Shared.Features.Server;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Modules.TenantIdentity.Shared.DTOs.Tenant;
using Modules.TenantIdentity.Public.DTOs.Tenant;
using Shared.Features.Messaging.Query;
using Shared.Features.Server;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Shared.Features.Messaging.Query;
using System.Threading;
using Shared.Features.Server;
using Modules.TenantIdentity.Shared.DTOs.Tenant;
using System;
using System.Threading.Tasks;
using System.Linq;
using Modules.TenantIdentity.Public.DTOs.Tenant;

namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Application.Queries
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.Domain.Exceptions;

namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain.Exceptions
namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Exceptions
{
public class MemberNotFoundException : DomainException
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.Domain.Exceptions;

namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain.Exceptions
namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Exceptions
{
public class TabsAlreadyClosedException : DomainException
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.Domain.Exceptions;

namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain.Exceptions
namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Exceptions
{
public class UserIsAlreadyMemberException : DomainException
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain.Exceptions;
using Modules.TenantIdentity.Shared.DTOs.Tenant;
using Shared.Features.Domain;
using Shared.Features.Domain.Exceptions;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.Errors;
using System.Collections.Generic;
using System;
using System.Linq;
using Shared.Kernel.DomainKernel;
using Modules.TenantIdentity.Public.DTOs.Tenant;
using Modules.TenantIdentity.Features.DomainFeatures.Tenants.Exceptions;

namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain
namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants
{
public class Tenant : Entity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore;
using Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain;
using Modules.TenantIdentity.Shared.DTOs.Tenant;
using Shared.Features.Domain;
using System;
using Shared.Kernel.DomainKernel;
using Modules.TenantIdentity.Public.DTOs.Tenant;

namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Modules.TenantIdentity.Features.Infrastructure.EFCore;
using Shared.Features.Messaging.Command;
using Shared.Features.Messaging.Command;
using Shared.Features.Server;
using System;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Modules.TenantIdentity.Features.Infrastructure.EFCore;
using Shared.Features.Messaging.Query;
using Shared.Features.Messaging.Query;
using Shared.Features.Server;
using System;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
using SendGrid.Helpers.Errors.Model;
using Shared.Features.EFCore;
using Shared.Kernel.BuildingBlocks;
using Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain;

namespace Modules.TenantIdentity.Features.Infrastructure.EFCore
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace Modules.TenantIdentity.Shared.DTOs.IdentityOperations
namespace Modules.TenantIdentity.Public.DTOs.IdentityOperations
{
public class BFFUserInfoDTO
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Modules.TenantIdentity.Shared.DTOs.IdentityOperations
namespace Modules.TenantIdentity.Public.DTOs.IdentityOperations
{
public class ClaimValueDTO
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Modules.TenantIdentity.Shared.DTOs.Tenant.Operations
namespace Modules.TenantIdentity.Public.DTOs.Tenant.Operations
{
public class ChangeRoleOfTenantMemberDTO
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentValidation;

namespace Modules.TenantIdentity.Shared.DTOs.Tenant.Operations
namespace Modules.TenantIdentity.Public.DTOs.Tenant.Operations
{
public class CreateTenantDTO
{
Expand Down
Loading

0 comments on commit efa5dcb

Please sign in to comment.