Skip to content

Commit

Permalink
Merge pull request DevBetterCom#1178 from Coop56/coop56/unused-usings…
Browse files Browse the repository at this point in the history
…-cleanup

Remove Unused Usings
  • Loading branch information
Coop56 authored Oct 17, 2023
2 parents 22111c6 + b93b467 commit 860ec65
Show file tree
Hide file tree
Showing 76 changed files with 42 additions and 210 deletions.
3 changes: 1 addition & 2 deletions src/DevBetterWeb.Core/Entities/BillingActivity.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.SharedKernel;
using DevBetterWeb.Core.ValueObjects;

Expand Down
2 changes: 0 additions & 2 deletions src/DevBetterWeb.Core/Entities/Book.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Services;
using DevBetterWeb.Core.SharedKernel;

namespace DevBetterWeb.Core.Entities;
Expand Down
1 change: 0 additions & 1 deletion src/DevBetterWeb.Core/Entities/BookCategory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.SharedKernel;

Expand Down
3 changes: 1 addition & 2 deletions src/DevBetterWeb.Core/Entities/QuestionVote.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.SharedKernel;

namespace DevBetterWeb.Core.Entities;
Expand Down
1 change: 0 additions & 1 deletion src/DevBetterWeb.Core/Entities/VideoComment.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Ardalis.GuardClauses;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.SharedKernel;
Expand Down
5 changes: 1 addition & 4 deletions src/DevBetterWeb.Core/Interfaces/IMapCoordinateService.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks;

namespace DevBetterWeb.Core.Interfaces;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System.Threading.Tasks;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.Exceptions;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Specs;

namespace DevBetterWeb.Core.Services;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Linq;
using Ardalis.Specification;
using Ardalis.Specification;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.ValueObjects;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Linq;
using Ardalis.Specification;
using Ardalis.Specification;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.ValueObjects;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Linq;
using Ardalis.Specification;
using Ardalis.Specification;
using DevBetterWeb.Core.Entities;

namespace DevBetterWeb.Core.Specs;
Expand Down
1 change: 0 additions & 1 deletion src/DevBetterWeb.Infrastructure/Data/AppDbContext.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
using DevBetterWeb.Core.Entities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Security.Cryptography.X509Certificates;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Net.Http;
using Autofac;
using DevBetterWeb.Core;
using Autofac;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Services;
using DevBetterWeb.Infrastructure.DiscordWebooks;
Expand All @@ -11,10 +8,7 @@
using DevBetterWeb.Infrastructure.IssuingHandler.StripeIssuingHandler;
using DevBetterWeb.Infrastructure.Logging;
using DevBetterWeb.Infrastructure.Services;
using DevBetterWeb.Vimeo.Constants;
using DevBetterWeb.Vimeo.Extensions;
using DevBetterWeb.Vimeo.Services.UserServices;
using DevBetterWeb.Vimeo.Services.VideoServices;
using Microsoft.AspNetCore.Identity.UI.Services;
using Stripe;
using Stripe.Issuing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.Events;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Specs;
using DevBetterWeb.Infrastructure.DiscordWebooks;
using DevBetterWeb.Vimeo.Services.VideoServices;

namespace DevBetterWeb.Core.Handlers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Infrastructure.Interfaces;
using DevBetterWeb.Infrastructure.Interfaces;
using Stripe;

namespace DevBetterWeb.Infrastructure.PaymentHandler.StripePaymentHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Interfaces;
using Stripe;

namespace DevBetterWeb.Infrastructure.PaymentHandler.StripePaymentHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Autofac.Core;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Interfaces;
using Stripe;

namespace DevBetterWeb.Infrastructure.PaymentHandler.StripePaymentHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Linq;
using System.Threading.Tasks;
using System.Threading.Tasks;
using DevBetterWeb.Core.Events;
using DevBetterWeb.Core.Exceptions;
using DevBetterWeb.Core.Interfaces;
Expand Down
3 changes: 1 addition & 2 deletions src/DevBetterWeb.Infrastructure/Services/MarkdigService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Interfaces;
using Markdig;

namespace DevBetterWeb.Infrastructure.Services;
Expand Down
3 changes: 1 addition & 2 deletions src/DevBetterWeb.Vimeo/Models/Categories.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace DevBetterWeb.Vimeo.Models;

Expand Down
6 changes: 1 addition & 5 deletions src/DevBetterWeb.Vimeo/Models/DataPaged.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace DevBetterWeb.Vimeo.Models;

Expand Down
7 changes: 1 addition & 6 deletions src/DevBetterWeb.Vimeo/Models/Paging.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using System.Text.Json.Serialization;

namespace DevBetterWeb.Vimeo.Models;

Expand Down
7 changes: 1 addition & 6 deletions src/DevBetterWeb.Vimeo/Models/Thumbnail.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using System.Text.Json.Serialization;

namespace DevBetterWeb.Vimeo.Models;

Expand Down
3 changes: 1 addition & 2 deletions src/DevBetterWeb.Vimeo/Models/UploadTicket.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;

namespace DevBetterWeb.Vimeo.Models;

Expand Down
3 changes: 1 addition & 2 deletions src/DevBetterWeb.Vimeo/Models/Uploader.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;
namespace DevBetterWeb.Vimeo.Models;

public class Uploader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading.Tasks;
using Ardalis.ApiClient;
using DevBetterWeb.Vimeo.Extensions;
using DevBetterWeb.Vimeo.Models;
using Microsoft.Extensions.Logging;

namespace DevBetterWeb.Vimeo.Services.VideoServices;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using DevBetterWeb.Vimeo.Models;

namespace DevBetterWeb.Vimeo.Services.VideoServices;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Text.Json.Serialization;

namespace DevBetterWeb.Vimeo.Services.VideoServices;
namespace DevBetterWeb.Vimeo.Services.VideoServices;

public class GetAnimatedThumbnailRequest
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiClient;
using DevBetterWeb.Vimeo.Extensions;
using DevBetterWeb.Vimeo.Models;
using Microsoft.Extensions.Logging;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading.Tasks;
using Ardalis.ApiClient;
using DevBetterWeb.Vimeo.Extensions;
using DevBetterWeb.Vimeo.Models;
using Microsoft.Extensions.Logging;

namespace DevBetterWeb.Vimeo.Services.VideoServices;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Runtime.Intrinsics.X86;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace DevBetterWeb.Web.Areas.Identity.Pages.Account;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace DevBetterWeb.Web.Areas.Identity.Pages.Account;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
using System.Linq;
using System.Threading.Tasks;
using DevBetterWeb.Core;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.Events;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Specs;
using DevBetterWeb.Infrastructure.Identity.Data;
using GoogleReCaptcha.V3.Interface;
using Microsoft.AspNetCore.Authorization;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace DevBetterWeb.Web.Areas.Identity.Pages.Account;
Expand Down
4 changes: 0 additions & 4 deletions src/DevBetterWeb.Web/CustomAttributes/ValidUrlAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace DevBetterWeb.Web;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using DevBetterWeb.Core.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using static DevBetterWeb.Core.AuthConstants;

namespace DevBetterWeb.Web.Endpoints;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
using DevBetterWeb.Core;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Specs;
using DevBetterWeb.Infrastructure.Identity.Data;
using DevBetterWeb.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;

namespace DevBetterWeb.Web.Endpoints;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using AutoMapper;
using DevBetterWeb.Core;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.Interfaces;
Expand Down
2 changes: 0 additions & 2 deletions src/DevBetterWeb.Web/Endpoints/VideoEndpoints/AddVideoInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
using Ardalis.ApiEndpoints;
using AutoMapper;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.Events;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Specs;
using DevBetterWeb.Web.Models;
using Microsoft.AspNetCore.Mvc;
using DevBetterWeb.Web.CustomAttributes;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
using System.Linq;
using System.Threading;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiClient;
using Ardalis.ApiEndpoints;
using AutoMapper;
using DevBetterWeb.Core.Entities;
using DevBetterWeb.Core.Events;
using DevBetterWeb.Core.Interfaces;
using DevBetterWeb.Core.Specs;
using DevBetterWeb.Vimeo.Services.VideoServices;
using DevBetterWeb.Web.Models;
using Microsoft.AspNetCore.Mvc;
using DevBetterWeb.Web.CustomAttributes;
using DevBetterWeb.Core;
Expand Down
1 change: 0 additions & 1 deletion src/DevBetterWeb.Web/Interfaces/ILeaderboardService.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using DevBetterWeb.Web.Models;
using DevBetterWeb.Web.Pages.Leaderboard;

namespace DevBetterWeb.Web.Interfaces;

Expand Down
Loading

0 comments on commit 860ec65

Please sign in to comment.