Skip to content

Commit 7796cb6

Browse files
authored
refactor(ui): remove redundant System usings via ImplicitUsings (#823)
1 parent d857e00 commit 7796cb6

67 files changed

Lines changed: 2 additions & 180 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AvatarExplorer.UI/Attributes/BitmapInterpolationAttribute.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using Avalonia.Media.Imaging;
32

43
namespace AvatarExplorer.UI.Attributes;

AvatarExplorer.UI/Attributes/MateriaIconAttribute.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using Material.Icons;
32

43
namespace AvatarExplorer.UI.Attributes;

AvatarExplorer.UI/Attributes/ThemeVariantAttribute.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using Avalonia.Media;
32

43
namespace AvatarExplorer.UI.Attributes;

AvatarExplorer.UI/AvatarExplorer.UI.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<OutputType>WinExe</OutputType>
44
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
67
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
78
<ApplicationManifest>app.manifest</ApplicationManifest>
89
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>

AvatarExplorer.UI/Converters/EnumToBoolConverter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Globalization;
32
using Avalonia.Data;
43
using Avalonia.Data.Converters;

AvatarExplorer.UI/Data/Paths/UISystemPath.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
using System.IO;
31
using AvatarExplorer.Core.Utils;
42

53
namespace AvatarExplorer.UI.Data.Paths;

AvatarExplorer.UI/Factories/ContextMenuFactory.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
31
using Avalonia.Controls;
42
using Avalonia.Controls.Primitives;
53
using Avalonia.Interactivity;

AvatarExplorer.UI/Factories/NavigationItemFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Linq;
21
using AvatarExplorer.Core.Localization;
32
using AvatarExplorer.Core.Models.Items;
43
using AvatarExplorer.UI.Data;

AvatarExplorer.UI/Interfaces/IInitializable.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Threading.Tasks;
2-
31
namespace AvatarExplorer.UI.Interfaces;
42

53
public interface IInitializable

AvatarExplorer.UI/Interfaces/IInitializableRegistry.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
using System.Collections.Generic;
2-
using System.Linq;
3-
using System.Threading.Tasks;
4-
51
namespace AvatarExplorer.UI.Interfaces;
62

73
public static class IInitializableRegistry

0 commit comments

Comments
 (0)