Skip to content

Commit

Permalink
Remove unnecessary using directives
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter committed Jan 9, 2025
1 parent 0adadbe commit 351b095
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if WinUI
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;

#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if WinUI
using WinUIEx;
using CommunityToolkit.WinUI.UI.Helpers;
using WinUIEx;

#nullable enable

Expand Down
18 changes: 9 additions & 9 deletions src/Riverside.Toolkit/Controls/TitleBar/TitleBarEx.Window.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#if WinUI
using System.Threading.Tasks;
using static Riverside.Toolkit.Helpers.NativeHelper;
using Windows.Graphics;
using System;
using WinUIEx;
using Riverside.ComponentModel;
using System.Runtime.InteropServices;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI;
using Microsoft.UI.Xaml;
using Microsoft.UI.Windowing;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Media.Imaging;
using Riverside.ComponentModel;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Windows.Graphics;
using WinUIEx;
using static Riverside.Toolkit.Helpers.NativeHelper;

#nullable enable

Expand Down
6 changes: 0 additions & 6 deletions src/Riverside.Toolkit/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
// System
global using global::System;
global using global::System.Collections;
global using global::System.Collections.Generic;
global using global::System.Collections.ObjectModel;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
global using global::System.ComponentModel;
global using global::System.Diagnostics;
global using global::System.Text.Json;
global using global::System.Text.Json.Serialization;
global using SystemIO = global::System.IO;

// WinUI
#if WinUI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Windows.UI;
using Riverside.Toolkit.Controls.Toolkit;
using Riverside.Toolkit.Controls.Toolkit;
using Windows.UI;

namespace Riverside.Toolkit.UserControls
{
Expand Down
4 changes: 2 additions & 2 deletions src/Riverside.Toolkit/UserControls/DropShadowPanel.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Numerics;
using Riverside.Toolkit.Controls.Toolkit;
using System.Numerics;
using Windows.UI;
using Riverside.Toolkit.Controls.Toolkit;

// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236

Expand Down

0 comments on commit 351b095

Please sign in to comment.