Browse Source

Swamy/remove unused usings and reorganize usings (#490)

* Removed and Reordered the using statements

* Removed and Reordered the usings inside Web Project

* Removed and Reordered the usings inside PublicApi project

* Removed Unused usings and reorganized usings inside Infrastructure project

* Removed unused using and reorganized the usings inside ApplicationCore Project

* Removed unused usings and reorganized usings inside BlazorAdmin project
main
Viswanatha Swamy 5 years ago
committed by GitHub
parent
commit
3463c89418
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/ApplicationCore/Entities/BasketAggregate/BasketItem.cs
  2. 4
      src/ApplicationCore/Entities/BuyerAggregate/Buyer.cs
  3. 4
      src/ApplicationCore/Entities/OrderAggregate/Address.cs
  4. 4
      src/ApplicationCore/Entities/OrderAggregate/Order.cs
  5. 4
      src/ApplicationCore/Exceptions/GuardExtensions.cs
  6. 10
      src/ApplicationCore/Services/BasketService.cs
  7. 3
      src/BlazorAdmin/CustomAuthStateProvider.cs
  8. 4
      src/BlazorAdmin/JavaScript/Cookies.cs
  9. 4
      src/BlazorAdmin/JavaScript/Css.cs
  10. 4
      src/BlazorAdmin/JavaScript/Route.cs

1
src/ApplicationCore/Entities/BasketAggregate/BasketItem.cs

@ -1,5 +1,4 @@
using Ardalis.GuardClauses; using Ardalis.GuardClauses;
using System;
namespace Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate namespace Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate
{ {

4
src/ApplicationCore/Entities/BuyerAggregate/Buyer.cs

@ -1,5 +1,5 @@
using Microsoft.eShopWeb.ApplicationCore.Interfaces; using Ardalis.GuardClauses;
using Ardalis.GuardClauses; using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.eShopWeb.ApplicationCore.Entities.BuyerAggregate namespace Microsoft.eShopWeb.ApplicationCore.Entities.BuyerAggregate

4
src/ApplicationCore/Entities/OrderAggregate/Address.cs

@ -1,6 +1,4 @@
using System; namespace Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate
namespace Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate
{ {
public class Address // ValueObject public class Address // ValueObject
{ {

4
src/ApplicationCore/Entities/OrderAggregate/Order.cs

@ -1,5 +1,5 @@
using Microsoft.eShopWeb.ApplicationCore.Interfaces; using Ardalis.GuardClauses;
using Ardalis.GuardClauses; using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

4
src/ApplicationCore/Exceptions/GuardExtensions.cs

@ -1,5 +1,5 @@
using Microsoft.eShopWeb.ApplicationCore.Exceptions; using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate;
using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate; using Microsoft.eShopWeb.ApplicationCore.Exceptions;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

10
src/ApplicationCore/Services/BasketService.cs

@ -1,9 +1,9 @@
using Microsoft.eShopWeb.ApplicationCore.Interfaces; using Ardalis.GuardClauses;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.eShopWeb.ApplicationCore.Specifications;
using Ardalis.GuardClauses;
using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate; using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.eShopWeb.ApplicationCore.Specifications;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.eShopWeb.ApplicationCore.Services namespace Microsoft.eShopWeb.ApplicationCore.Services
{ {

3
src/BlazorAdmin/CustomAuthStateProvider.cs

@ -1,5 +1,4 @@
using BlazorAdmin.Services; using BlazorShared.Authorization;
using BlazorShared.Authorization;
using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using System; using System;

4
src/BlazorAdmin/JavaScript/Cookies.cs

@ -1,5 +1,5 @@
using System.Threading.Tasks; using Microsoft.JSInterop;
using Microsoft.JSInterop; using System.Threading.Tasks;
namespace BlazorAdmin.JavaScript namespace BlazorAdmin.JavaScript
{ {

4
src/BlazorAdmin/JavaScript/Css.cs

@ -1,5 +1,5 @@
using System.Threading.Tasks; using Microsoft.JSInterop;
using Microsoft.JSInterop; using System.Threading.Tasks;
namespace BlazorAdmin.JavaScript namespace BlazorAdmin.JavaScript
{ {

4
src/BlazorAdmin/JavaScript/Route.cs

@ -1,5 +1,5 @@
using System.Threading.Tasks; using Microsoft.JSInterop;
using Microsoft.JSInterop; using System.Threading.Tasks;
namespace BlazorAdmin.JavaScript namespace BlazorAdmin.JavaScript
{ {

Loading…
Cancel
Save