Browse Source

Explicitly specified access modifier for classes

pull/569/head
Marusyk 6 years ago
parent
commit
f21612ac18
25 changed files with 27 additions and 26 deletions
  1. +2
    -2
      src/BuildingBlocks/HealthChecks/src/Microsoft.Extensions.HealthChecks/CachedHealthCheck.cs
  2. +1
    -1
      src/Services/Basket/Basket.API/Infrastructure/Middlewares/ByPassAuthMiddleware.cs
  3. +1
    -1
      src/Services/Catalog/Catalog.API/Infrastructure/EntityConfigurations/CatalogBrandEntityTypeConfiguration.cs
  4. +1
    -1
      src/Services/Catalog/Catalog.API/Infrastructure/EntityConfigurations/CatalogItemEntityTypeConfiguration.cs
  5. +1
    -1
      src/Services/Catalog/Catalog.API/Infrastructure/EntityConfigurations/CatalogTypeEntityTypeConfiguration.cs
  6. +1
    -1
      src/Services/Location/Locations.API/Infrastructure/Middlewares/ByPassAuthMiddleware.cs
  7. +1
    -1
      src/Services/Marketing/Marketing.API/Infrastructure/EntityConfigurations/CampaignEntityTypeConfiguration.cs
  8. +1
    -1
      src/Services/Marketing/Marketing.API/Infrastructure/EntityConfigurations/RuleEntityTypeConfiguration.cs
  9. +1
    -1
      src/Services/Marketing/Marketing.API/Infrastructure/EntityConfigurations/UserLocationRuleEntityTypeConfiguration.cs
  10. +1
    -1
      src/Services/Marketing/Marketing.API/Infrastructure/Middlewares/ByPassAuthMiddleware.cs
  11. +1
    -1
      src/Services/Ordering/Ordering.API/Infrastructure/Middlewares/ByPassAuthMiddleware.cs
  12. +1
    -1
      src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/BuyerEntityTYpeConfiguration.cs
  13. +1
    -1
      src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/CardTypeEntityTypeConfiguration.cs
  14. +1
    -1
      src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/ClientRequestEntityTypeConfiguration.cs
  15. +2
    -1
      src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/OrderEntityTypeConfiguration.cs
  16. +1
    -1
      src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/OrderItemEntityTypeConfiguration.cs
  17. +1
    -1
      src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/OrderStatusEntityTypeConfiguration.cs
  18. +1
    -1
      src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/PaymentMethodEntityTypeConfiguration.cs
  19. +1
    -1
      src/Services/Ordering/Ordering.Infrastructure/MediatorExtension.cs
  20. +1
    -1
      src/Services/Ordering/Ordering.Infrastructure/OrderingContext.cs
  21. +1
    -1
      src/Web/WebMVC/Infrastructure/Middlewares/ByPassAuthMiddleware.cs
  22. +1
    -1
      test/Services/FunctionalTests/Middleware/AutoAuthorizeMiddleware.cs
  23. +1
    -1
      test/Services/FunctionalTests/Services/Location/LocationsTestsStartup.cs
  24. +1
    -1
      test/Services/IntegrationTests/Middleware/AutoAuthorizeMiddleware.cs
  25. +1
    -1
      test/Services/IntegrationTests/Services/Locations/LocationsTestsStartup.cs

+ 2
- 2
src/BuildingBlocks/HealthChecks/src/Microsoft.Extensions.HealthChecks/CachedHealthCheck.cs View File

@ -85,7 +85,7 @@ namespace Microsoft.Extensions.HealthChecks
return new TypeOrHealthCheck_Type(name, cacheDuration, healthCheckType); return new TypeOrHealthCheck_Type(name, cacheDuration, healthCheckType);
} }
class TypeOrHealthCheck_HealthCheck : CachedHealthCheck
private class TypeOrHealthCheck_HealthCheck : CachedHealthCheck
{ {
private readonly IHealthCheck _healthCheck; private readonly IHealthCheck _healthCheck;
@ -95,7 +95,7 @@ namespace Microsoft.Extensions.HealthChecks
protected override IHealthCheck Resolve(IServiceProvider serviceProvider) => _healthCheck; protected override IHealthCheck Resolve(IServiceProvider serviceProvider) => _healthCheck;
} }
class TypeOrHealthCheck_Type : CachedHealthCheck
private class TypeOrHealthCheck_Type : CachedHealthCheck
{ {
private readonly Type _healthCheckType; private readonly Type _healthCheckType;


+ 1
- 1
src/Services/Basket/Basket.API/Infrastructure/Middlewares/ByPassAuthMiddleware.cs View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace Basket.API.Infrastructure.Middlewares namespace Basket.API.Infrastructure.Middlewares
{ {
class ByPassAuthMiddleware
internal class ByPassAuthMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
private string _currentUserId; private string _currentUserId;


+ 1
- 1
src/Services/Catalog/Catalog.API/Infrastructure/EntityConfigurations/CatalogBrandEntityTypeConfiguration.cs View File

@ -4,7 +4,7 @@ using Microsoft.eShopOnContainers.Services.Catalog.API.Model;
namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations
{ {
class CatalogBrandEntityTypeConfiguration
internal class CatalogBrandEntityTypeConfiguration
: IEntityTypeConfiguration<CatalogBrand> : IEntityTypeConfiguration<CatalogBrand>
{ {
public void Configure(EntityTypeBuilder<CatalogBrand> builder) public void Configure(EntityTypeBuilder<CatalogBrand> builder)


+ 1
- 1
src/Services/Catalog/Catalog.API/Infrastructure/EntityConfigurations/CatalogItemEntityTypeConfiguration.cs View File

@ -4,7 +4,7 @@ using Microsoft.eShopOnContainers.Services.Catalog.API.Model;
namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations
{ {
class CatalogItemEntityTypeConfiguration
internal class CatalogItemEntityTypeConfiguration
: IEntityTypeConfiguration<CatalogItem> : IEntityTypeConfiguration<CatalogItem>
{ {
public void Configure(EntityTypeBuilder<CatalogItem> builder) public void Configure(EntityTypeBuilder<CatalogItem> builder)


+ 1
- 1
src/Services/Catalog/Catalog.API/Infrastructure/EntityConfigurations/CatalogTypeEntityTypeConfiguration.cs View File

@ -4,7 +4,7 @@ using Microsoft.eShopOnContainers.Services.Catalog.API.Model;
namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations
{ {
class CatalogTypeEntityTypeConfiguration
internal class CatalogTypeEntityTypeConfiguration
: IEntityTypeConfiguration<CatalogType> : IEntityTypeConfiguration<CatalogType>
{ {
public void Configure(EntityTypeBuilder<CatalogType> builder) public void Configure(EntityTypeBuilder<CatalogType> builder)


+ 1
- 1
src/Services/Location/Locations.API/Infrastructure/Middlewares/ByPassAuthMiddleware.cs View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Services.Locations.API.Infrastructure.Middlewares namespace Microsoft.eShopOnContainers.Services.Locations.API.Infrastructure.Middlewares
{ {
class ByPassAuthMiddleware
internal class ByPassAuthMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
private string _currentUserId; private string _currentUserId;


+ 1
- 1
src/Services/Marketing/Marketing.API/Infrastructure/EntityConfigurations/CampaignEntityTypeConfiguration.cs View File

@ -4,7 +4,7 @@ using Microsoft.eShopOnContainers.Services.Marketing.API.Model;
namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.EntityConfigurations namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.EntityConfigurations
{ {
class CampaignEntityTypeConfiguration
internal class CampaignEntityTypeConfiguration
: IEntityTypeConfiguration<Campaign> : IEntityTypeConfiguration<Campaign>
{ {
public void Configure(EntityTypeBuilder<Campaign> builder) public void Configure(EntityTypeBuilder<Campaign> builder)


+ 1
- 1
src/Services/Marketing/Marketing.API/Infrastructure/EntityConfigurations/RuleEntityTypeConfiguration.cs View File

@ -4,7 +4,7 @@ using Microsoft.eShopOnContainers.Services.Marketing.API.Model;
namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.EntityConfigurations namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.EntityConfigurations
{ {
class RuleEntityTypeConfiguration
internal class RuleEntityTypeConfiguration
: IEntityTypeConfiguration<Rule> : IEntityTypeConfiguration<Rule>
{ {
public void Configure(EntityTypeBuilder<Rule> builder) public void Configure(EntityTypeBuilder<Rule> builder)


+ 1
- 1
src/Services/Marketing/Marketing.API/Infrastructure/EntityConfigurations/UserLocationRuleEntityTypeConfiguration.cs View File

@ -4,7 +4,7 @@ using Microsoft.eShopOnContainers.Services.Marketing.API.Model;
namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.EntityConfigurations namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.EntityConfigurations
{ {
class UserLocationRuleEntityTypeConfiguration
internal class UserLocationRuleEntityTypeConfiguration
: IEntityTypeConfiguration<UserLocationRule> : IEntityTypeConfiguration<UserLocationRule>
{ {
public void Configure(EntityTypeBuilder<UserLocationRule> builder) public void Configure(EntityTypeBuilder<UserLocationRule> builder)


+ 1
- 1
src/Services/Marketing/Marketing.API/Infrastructure/Middlewares/ByPassAuthMiddleware.cs View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.Middlewares namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.Middlewares
{ {
class ByPassAuthMiddleware
internal class ByPassAuthMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
private string _currentUserId; private string _currentUserId;


+ 1
- 1
src/Services/Ordering/Ordering.API/Infrastructure/Middlewares/ByPassAuthMiddleware.cs View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace Ordering.API.Infrastructure.Middlewares namespace Ordering.API.Infrastructure.Middlewares
{ {
class ByPassAuthMiddleware
internal class ByPassAuthMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
private string _currentUserId; private string _currentUserId;


+ 1
- 1
src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/BuyerEntityTYpeConfiguration.cs View File

@ -5,7 +5,7 @@ using Microsoft.eShopOnContainers.Services.Ordering.Infrastructure;
namespace Ordering.Infrastructure.EntityConfigurations namespace Ordering.Infrastructure.EntityConfigurations
{ {
class BuyerEntityTypeConfiguration
internal class BuyerEntityTypeConfiguration
: IEntityTypeConfiguration<Buyer> : IEntityTypeConfiguration<Buyer>
{ {
public void Configure(EntityTypeBuilder<Buyer> buyerConfiguration) public void Configure(EntityTypeBuilder<Buyer> buyerConfiguration)


+ 1
- 1
src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/CardTypeEntityTypeConfiguration.cs View File

@ -5,7 +5,7 @@ using Microsoft.eShopOnContainers.Services.Ordering.Infrastructure;
namespace Ordering.Infrastructure.EntityConfigurations namespace Ordering.Infrastructure.EntityConfigurations
{ {
class CardTypeEntityTypeConfiguration
internal class CardTypeEntityTypeConfiguration
: IEntityTypeConfiguration<CardType> : IEntityTypeConfiguration<CardType>
{ {
public void Configure(EntityTypeBuilder<CardType> cardTypesConfiguration) public void Configure(EntityTypeBuilder<CardType> cardTypesConfiguration)


+ 1
- 1
src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/ClientRequestEntityTypeConfiguration.cs View File

@ -5,7 +5,7 @@ using Microsoft.eShopOnContainers.Services.Ordering.Infrastructure.Idempotency;
namespace Ordering.Infrastructure.EntityConfigurations namespace Ordering.Infrastructure.EntityConfigurations
{ {
class ClientRequestEntityTypeConfiguration
internal class ClientRequestEntityTypeConfiguration
: IEntityTypeConfiguration<ClientRequest> : IEntityTypeConfiguration<ClientRequest>
{ {
public void Configure(EntityTypeBuilder<ClientRequest> requestConfiguration) public void Configure(EntityTypeBuilder<ClientRequest> requestConfiguration)


+ 2
- 1
src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/OrderEntityTypeConfiguration.cs View File

@ -7,7 +7,8 @@ using System;
namespace Ordering.Infrastructure.EntityConfigurations namespace Ordering.Infrastructure.EntityConfigurations
{ {
class OrderEntityTypeConfiguration : IEntityTypeConfiguration<Order>
internal class OrderEntityTypeConfiguration
: IEntityTypeConfiguration<Order>
{ {
public void Configure(EntityTypeBuilder<Order> orderConfiguration) public void Configure(EntityTypeBuilder<Order> orderConfiguration)
{ {


+ 1
- 1
src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/OrderItemEntityTypeConfiguration.cs View File

@ -5,7 +5,7 @@ using Microsoft.eShopOnContainers.Services.Ordering.Infrastructure;
namespace Ordering.Infrastructure.EntityConfigurations namespace Ordering.Infrastructure.EntityConfigurations
{ {
class OrderItemEntityTypeConfiguration
internal class OrderItemEntityTypeConfiguration
: IEntityTypeConfiguration<OrderItem> : IEntityTypeConfiguration<OrderItem>
{ {
public void Configure(EntityTypeBuilder<OrderItem> orderItemConfiguration) public void Configure(EntityTypeBuilder<OrderItem> orderItemConfiguration)


+ 1
- 1
src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/OrderStatusEntityTypeConfiguration.cs View File

@ -5,7 +5,7 @@ using Microsoft.eShopOnContainers.Services.Ordering.Infrastructure;
namespace Ordering.Infrastructure.EntityConfigurations namespace Ordering.Infrastructure.EntityConfigurations
{ {
class OrderStatusEntityTypeConfiguration
internal class OrderStatusEntityTypeConfiguration
: IEntityTypeConfiguration<OrderStatus> : IEntityTypeConfiguration<OrderStatus>
{ {
public void Configure(EntityTypeBuilder<OrderStatus> orderStatusConfiguration) public void Configure(EntityTypeBuilder<OrderStatus> orderStatusConfiguration)


+ 1
- 1
src/Services/Ordering/Ordering.Infrastructure/EntityConfigurations/PaymentMethodEntityTypeConfiguration.cs View File

@ -6,7 +6,7 @@ using System;
namespace Ordering.Infrastructure.EntityConfigurations namespace Ordering.Infrastructure.EntityConfigurations
{ {
class PaymentMethodEntityTypeConfiguration
internal class PaymentMethodEntityTypeConfiguration
: IEntityTypeConfiguration<PaymentMethod> : IEntityTypeConfiguration<PaymentMethod>
{ {
public void Configure(EntityTypeBuilder<PaymentMethod> paymentConfiguration) public void Configure(EntityTypeBuilder<PaymentMethod> paymentConfiguration)


+ 1
- 1
src/Services/Ordering/Ordering.Infrastructure/MediatorExtension.cs View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace Ordering.Infrastructure namespace Ordering.Infrastructure
{ {
static class MediatorExtension
internal static class MediatorExtension
{ {
public static async Task DispatchDomainEventsAsync(this IMediator mediator, OrderingContext ctx) public static async Task DispatchDomainEventsAsync(this IMediator mediator, OrderingContext ctx)
{ {


+ 1
- 1
src/Services/Ordering/Ordering.Infrastructure/OrderingContext.cs View File

@ -73,7 +73,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Infrastructure
return new OrderingContext(optionsBuilder.Options,new NoMediator()); return new OrderingContext(optionsBuilder.Options,new NoMediator());
} }
class NoMediator : IMediator
private class NoMediator : IMediator
{ {
public Task Publish<TNotification>(TNotification notification, CancellationToken cancellationToken = default(CancellationToken)) where TNotification : INotification public Task Publish<TNotification>(TNotification notification, CancellationToken cancellationToken = default(CancellationToken)) where TNotification : INotification
{ {


+ 1
- 1
src/Web/WebMVC/Infrastructure/Middlewares/ByPassAuthMiddleware.cs View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace WebMVC.Infrastructure.Middlewares namespace WebMVC.Infrastructure.Middlewares
{ {
class ByPassAuthMiddleware
internal class ByPassAuthMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
private string _currentUserId; private string _currentUserId;


+ 1
- 1
test/Services/FunctionalTests/Middleware/AutoAuthorizeMiddleware.cs View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace FunctionalTests.Middleware namespace FunctionalTests.Middleware
{ {
class AutoAuthorizeMiddleware
internal class AutoAuthorizeMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
public AutoAuthorizeMiddleware(RequestDelegate rd) public AutoAuthorizeMiddleware(RequestDelegate rd)


+ 1
- 1
test/Services/FunctionalTests/Services/Location/LocationsTestsStartup.cs View File

@ -26,7 +26,7 @@
} }
} }
class LocationAuthorizeMiddleware
private class LocationAuthorizeMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;


+ 1
- 1
test/Services/IntegrationTests/Middleware/AutoAuthorizeMiddleware.cs View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace IntegrationTests.Middleware namespace IntegrationTests.Middleware
{ {
class AutoAuthorizeMiddleware
internal class AutoAuthorizeMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
public AutoAuthorizeMiddleware(RequestDelegate rd) public AutoAuthorizeMiddleware(RequestDelegate rd)


+ 1
- 1
test/Services/IntegrationTests/Services/Locations/LocationsTestsStartup.cs View File

@ -25,7 +25,7 @@
} }
} }
class LocationAuthorizeMiddleware
private class LocationAuthorizeMiddleware
{ {
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
public LocationAuthorizeMiddleware(RequestDelegate rd) public LocationAuthorizeMiddleware(RequestDelegate rd)


Loading…
Cancel
Save