Skip to content

Commit

Permalink
refactor: Remove unused usings
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Jun 23, 2024
1 parent 18ba755 commit ce04058
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using LinkDotNet.Blog.Domain;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@using LinkDotNet.Blog.Domain
@using LinkDotNet.Blog.Infrastructure.Persistence
@using LinkDotNet.Blog.Web.Features.Components
@using LinkDotNet.Blog.Web.Features.Services

@inject IRepository<ProfileInformationEntry> Repository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using LinkDotNet.Blog.Domain
@using LinkDotNet.Blog.Web.Features.Components
@inject IToastService ToastService
<ModalDialog @ref="Dialog" Title="Add Skill">
<EditForm Model="@model" OnValidSubmit="CreateSkillItem">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using LinkDotNet.Blog.Web.Features.Components
<ModalDialog @ref="FeatureDialog" Title="Additional Features">
<ModalDialog @ref="FeatureDialog" Title="Additional Features">
<p>Here you will find a comprehensive list over feature you can use additional to classic markdown</p>
<p>Features marked with <i class="lab"></i> are experimental and can change heavily, get removed or the usage
changes.</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
@using System.Linq.Expressions
@using Microsoft.EntityFrameworkCore
@using LinkDotNet.Blog.Domain
@using LinkDotNet.Blog.Infrastructure
@using LinkDotNet.Blog.Infrastructure.Persistence
@using LinkDotNet.Blog.Infrastructure.Persistence.Sql
@using System.Collections.Immutable
@using System.Diagnostics
@using Microsoft.Extensions.Logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
@using System.Net
@using System.Text.RegularExpressions
@using System.Web
@using LinkDotNet.Blog.Domain
@using LinkDotNet.Blog.Web.Features.Services
@using Microsoft.Extensions.Caching.Memory

<article>
<div class="blog-card @AltCssClass">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@typeparam T

@using LinkDotNet.Blog.Domain
@using LinkDotNet.Blog.Infrastructure
<nav aria-label="Page navigation">
<ul class="pagination justify-content-center">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@using Microsoft.Extensions.Options
@using LinkDotNet.Blog.Domain
@inject IOptions<ApplicationConfiguration> AppConfiguration
@inject IOptions<ProfileInformation> ProfileInformation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using LinkDotNet.Blog.Domain
@using Microsoft.Extensions.Options
@inject IOptions<Introduction> Introduction
@inject IOptions<Social> Social

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@inject IOptions<ApplicationConfiguration> Configuration
@inject NavigationManager NavigationManager
@using Microsoft.Extensions.Options
@implements IDisposable

<nav class="navbar navbar-expand-lg navbar-light w-100">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@using Microsoft.Extensions.Options
@inject IOptions<ApplicationConfiguration> AppConfiguration

@if (MultipleCommentPlugins)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using Microsoft.Extensions.Options
@inject IJSRuntime JsRuntime
@inject IJSRuntime JsRuntime
@inject IOptions<ApplicationConfiguration> AppConfiguration
@inject IOptions<GiscusConfiguration> GiscusConfiguration
<div class="giscus">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using LinkDotNet.Blog.Web.Features;
using NCronJob;
using Microsoft.Extensions.DependencyInjection;
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 LinkDotNet.Blog.Domain;
using LinkDotNet.Blog.TestUtilities;
using LinkDotNet.Blog.Web.Features.Admin.DraftBlogPost;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using System.Linq;
using System.Threading.Tasks;
using System.Threading.Tasks;
using LinkDotNet.Blog.Domain;
using LinkDotNet.Blog.TestUtilities;
using LinkDotNet.Blog.Web.Features.Components;
using LinkDotNet.Blog.Web.Features.Search;
using LinkDotNet.Blog.Web.Features.Services;
using Microsoft.Extensions.DependencyInjection;

namespace LinkDotNet.Blog.IntegrationTests.Web.Features.Search;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using LinkDotNet.Blog.Domain;
using LinkDotNet.Blog.TestUtilities;
using LinkDotNet.Blog.Web.Features.SearchByTag;
using LinkDotNet.Blog.Web.Features.Services;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.Extensions.DependencyInjection;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
using System.Linq;
using System.Threading.Tasks;
using LinkDotNet.Blog.Domain;
using LinkDotNet.Blog.Infrastructure.Persistence;
using LinkDotNet.Blog.Infrastructure.Persistence.Sql;
using LinkDotNet.Blog.TestUtilities;
using LinkDotNet.Blog.Web.Features;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;

namespace LinkDotNet.Blog.IntegrationTests.Web.Features;
Expand Down
1 change: 0 additions & 1 deletion tests/LinkDotNet.Blog.TestUtilities/BunitExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Components;

namespace LinkDotNet.Blog.TestUtilities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using LinkDotNet.Blog.Web.RegistrationExtensions;
using Microsoft.Extensions.DependencyInjection;

Expand Down

0 comments on commit ce04058

Please sign in to comment.