Explicitly specified access modifier for classes

This commit is contained in:
Marusyk 2018-03-29 17:18:41 +03:00
parent 0742f941fb
commit f21612ac18
25 changed files with 27 additions and 26 deletions

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;

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;

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)

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)

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)

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;

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)

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)

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)

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;

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;

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)

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)

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)

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)
{ {

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)

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)

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)

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)
{ {

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
{ {

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;

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)

View File

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

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)

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)