Skip to content

Commit

Permalink
Swamy/remove unused usings and reorganize usings (dotnet-architecture…
Browse files Browse the repository at this point in the history
…#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
  • Loading branch information
vishipayyallore authored Dec 3, 2020
1 parent 1598d0b commit 3463c89
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 23 deletions.
1 change: 0 additions & 1 deletion src/ApplicationCore/Entities/BasketAggregate/BasketItem.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Ardalis.GuardClauses;
using System;

namespace Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate
{
Expand Down
4 changes: 2 additions & 2 deletions src/ApplicationCore/Entities/BuyerAggregate/Buyer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Ardalis.GuardClauses;
using Ardalis.GuardClauses;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using System.Collections.Generic;

namespace Microsoft.eShopWeb.ApplicationCore.Entities.BuyerAggregate
Expand Down
4 changes: 1 addition & 3 deletions src/ApplicationCore/Entities/OrderAggregate/Address.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate
namespace Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate
{
public class Address // ValueObject
{
Expand Down
4 changes: 2 additions & 2 deletions src/ApplicationCore/Entities/OrderAggregate/Order.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Ardalis.GuardClauses;
using Ardalis.GuardClauses;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using System;
using System.Collections.Generic;

Expand Down
4 changes: 2 additions & 2 deletions src/ApplicationCore/Exceptions/GuardExtensions.cs
Original file line number Diff line number Diff line change
@@ -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.Linq;

Expand Down
10 changes: 5 additions & 5 deletions src/ApplicationCore/Services/BasketService.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.eShopWeb.ApplicationCore.Specifications;
using Ardalis.GuardClauses;
using Ardalis.GuardClauses;
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
{
Expand Down
3 changes: 1 addition & 2 deletions src/BlazorAdmin/CustomAuthStateProvider.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using BlazorAdmin.Services;
using BlazorShared.Authorization;
using BlazorShared.Authorization;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.Extensions.Logging;
using System;
Expand Down
4 changes: 2 additions & 2 deletions src/BlazorAdmin/JavaScript/Cookies.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Threading.Tasks;
using Microsoft.JSInterop;
using Microsoft.JSInterop;
using System.Threading.Tasks;

namespace BlazorAdmin.JavaScript
{
Expand Down
4 changes: 2 additions & 2 deletions src/BlazorAdmin/JavaScript/Css.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Threading.Tasks;
using Microsoft.JSInterop;
using Microsoft.JSInterop;
using System.Threading.Tasks;

namespace BlazorAdmin.JavaScript
{
Expand Down
4 changes: 2 additions & 2 deletions src/BlazorAdmin/JavaScript/Route.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Threading.Tasks;
using Microsoft.JSInterop;
using Microsoft.JSInterop;
using System.Threading.Tasks;

namespace BlazorAdmin.JavaScript
{
Expand Down

0 comments on commit 3463c89

Please sign in to comment.