Skip to content

Commit

Permalink
Merge pull request WalletWasabi#12986 from csiki2/unused_usings
Browse files Browse the repository at this point in the history
Removing unused usings
  • Loading branch information
Turbolay authored May 8, 2024
2 parents b971f85 + 1004f5c commit adc20b9
Show file tree
Hide file tree
Showing 172 changed files with 0 additions and 328 deletions.
8 changes: 0 additions & 8 deletions WalletWasabi.Backend/Controllers/BlockchainController.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using NBitcoin;
using NBitcoin.Protocol.Payloads;
using NBitcoin.RPC;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net.Cache;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.Backend.Models.Responses;
using WalletWasabi.BitcoinCore.Mempool;
using WalletWasabi.BitcoinCore.Rpc;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Backend/Filters/ExceptionTranslateFilter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.ComponentModel;
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Daemon/Config.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Microsoft.Extensions.Logging;
using NBitcoin;
using System;
using System.Collections;
Expand Down
9 changes: 0 additions & 9 deletions WalletWasabi.Daemon/Program.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
using System;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Services;
using WalletWasabi.Services.Terminate;
using WalletWasabi.Wallets;
using System.Net.Sockets;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using NBitcoin;
using LogLevel = WalletWasabi.Logging.LogLevel;

namespace WalletWasabi.Daemon;

Expand Down
2 changes: 0 additions & 2 deletions WalletWasabi.Fluent.Desktop/Extensions/AppBuilderExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
using Avalonia.Controls;
using Avalonia.Dialogs;
using Avalonia.Media;
using Avalonia.Platform;
using WalletWasabi.Logging;

namespace WalletWasabi.Fluent.Desktop.Extensions;

Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent.Desktop/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using System.Linq;
using WalletWasabi.Fluent.CrashReport;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Fluent.ViewModels;
using WalletWasabi.Logging;
using WalletWasabi.Models;
using System.Diagnostics.CodeAnalysis;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/App.axaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Linq;
using System.Reactive.Concurrency;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Behaviors/DynamicHeightBehavior.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Reactive.Disposables;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Layout;
using Avalonia.Xaml.Interactions.Custom;
using ReactiveUI;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Avalonia.Styling;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia.Threading;
using Avalonia.Xaml.Interactions.Custom;

namespace WalletWasabi.Fluent.Behaviors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using Avalonia;
using Avalonia.Animation;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using ReactiveUI;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia;
using Avalonia.Xaml.Interactions.Custom;
using ReactiveUI;

Expand Down
3 changes: 0 additions & 3 deletions WalletWasabi.Fluent/Controls/CurrencyEntryBox.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Input;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Input.Platform;
using Avalonia.Threading;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Fluent.Extensions;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Fluent.Infrastructure;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Controls/Dialog.axaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Controls/DualCurrencyEntryBox.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Fluent.Extensions;
using WalletWasabi.Helpers;
using WalletWasabi.Userfacing;

namespace WalletWasabi.Fluent.Controls;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Controls/Rendering/DrawPayload.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Avalonia;
using WalletWasabi.Fluent.Controls.Spectrum;

namespace WalletWasabi.Fluent.Controls.Rendering;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Linq;
using Avalonia;
using Avalonia.Media;
using Avalonia.Platform;
using Avalonia.Skia;
using Avalonia.Threading;
using SkiaSharp;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Reactive.Linq;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Presenters;
using Avalonia.Controls.Primitives;
using Avalonia.Data;
using Avalonia.Input;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Styling;

namespace WalletWasabi.Fluent.Controls;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using ReactiveUI;
using System.Windows.Input;
using Avalonia;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Fluent.ViewModels;
using WalletWasabi.Fluent.ViewModels.HelpAndSupport;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Diagnostics/DiagnosticsExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Diagnostics/DiagnosticsWindow.axaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.ComponentModel;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Interactivity;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Extensions/ObservableExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using WalletWasabi.Fluent.Helpers;

namespace WalletWasabi.Fluent.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System.Diagnostics.CodeAnalysis;
using WalletWasabi.Blockchain.Analysis.FeesEstimation;
using WalletWasabi.Blockchain.Transactions;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Wallets;

namespace WalletWasabi.Fluent.Extensions;

Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/AssetHelpers.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Avalonia;
using Avalonia.Media.Imaging;
using Avalonia.Platform;

Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/CoinHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using WalletWasabi.Blockchain.TransactionOutputs;
using WalletWasabi.Helpers;
using WalletWasabi.Fluent.Models;
using WalletWasabi.Wallets;
using WalletWasabi.Blockchain.Transactions;

namespace WalletWasabi.Fluent.Helpers;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/FlyoutHelpers.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/LabelsComparer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using WalletWasabi.Blockchain.Analysis.Clustering;

namespace WalletWasabi.Fluent.Helpers;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/NotificationHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using WalletWasabi.Fluent.Extensions;
using WalletWasabi.Fluent.Models.Wallets;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;

namespace WalletWasabi.Fluent.Helpers;

Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/StartupHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Logging;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/TextHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Text.RegularExpressions;
using NBitcoin;
using WalletWasabi.Fluent.Extensions;
using WalletWasabi.Fluent.ViewModels;

namespace WalletWasabi.Fluent.Helpers;

Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/TransactionFeeHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading;
using System.Threading.Tasks;
using NBitcoin;
using NBitcoin.RPC;
using WalletWasabi.Blockchain.Analysis.FeesEstimation;
using WalletWasabi.Blockchain.Transactions;
using WalletWasabi.Fluent.ViewModels.Wallets.Send;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Helpers/WalletHelpers.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using WalletWasabi.Blockchain.Analysis.Clustering;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Wallets;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Models/TransactionBroadcasterModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using WalletWasabi.Extensions;
using WalletWasabi.Fluent.Extensions;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Fluent.Models.UI;
using WalletWasabi.Models;

namespace WalletWasabi.Fluent.Models;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Models/UI/UiClipboard.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Threading.Tasks;
using WalletWasabi.Fluent.Helpers;
using Avalonia;

namespace WalletWasabi.Fluent.Models.UI;

Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/Models/Wallets/WalletRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using System.Threading.Tasks;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.Extensions;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Helpers;
using WalletWasabi.Hwi.Models;
using WalletWasabi.Models;
Expand Down
1 change: 0 additions & 1 deletion WalletWasabi.Fluent/UiConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using WalletWasabi.Fluent.Converters;
using System.Runtime.Serialization;
using System.Runtime.InteropServices;
using DynamicData.Binding;

namespace WalletWasabi.Fluent;

Expand Down
4 changes: 0 additions & 4 deletions WalletWasabi.Fluent/ViewModels/ApplicationViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Avalonia.Controls;
using ReactiveUI;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Fluent.Infrastructure;
using WalletWasabi.Fluent.Models.UI;
using WalletWasabi.Fluent.Providers;
using WalletWasabi.Services.Terminate;

namespace WalletWasabi.Fluent.ViewModels;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Threading.Tasks;
using System.Windows.Input;
using WalletWasabi.Extensions;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Fluent.Validation;
using WalletWasabi.Fluent.ViewModels.Dialogs.Base;
using WalletWasabi.Models;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Reactive.Disposables;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Blockchain.Analysis.Clustering;
using WalletWasabi.Fluent.Extensions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Threading.Tasks;
using WalletWasabi.Fluent.ViewModels.Dialogs;
using WalletWasabi.Fluent.ViewModels.Dialogs.Base;

namespace WalletWasabi.Fluent.ViewModels.Navigation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Reactive.Disposables;
using ReactiveUI;
using System.Reactive.Linq;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System.Threading.Tasks;
using WalletWasabi.Fluent.ViewModels.Dialogs.Base;

namespace WalletWasabi.Fluent.ViewModels.Navigation;

public class TargettedNavigationStack : NavigationStack<RoutableViewModel>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Windows.Input;
using ReactiveUI;
using WalletWasabi.Helpers;

namespace WalletWasabi.Fluent.ViewModels.OpenDirectory;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WalletWasabi.Fluent.Models.UI;
using WalletWasabi.Logging;

namespace WalletWasabi.Fluent.ViewModels.OpenDirectory;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Threading.Tasks;
using DynamicData;
using WalletWasabi.Fluent.Models.UI;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Fluent.ViewModels.SearchBar.Patterns;
using WalletWasabi.Fluent.ViewModels.SearchBar.SearchItems;
Expand Down
2 changes: 0 additions & 2 deletions WalletWasabi.Fluent/ViewModels/Wallets/Buy/BuyViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
using WalletWasabi.Fluent.Models.UI;
using WalletWasabi.Fluent.Models.Wallets;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Fluent.ViewModels.Wallets.Buy.Workflows;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;

namespace WalletWasabi.Fluent.ViewModels.Wallets.Buy;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System.Reactive.Linq;
using NBitcoin;
using ReactiveUI;
using System.Threading.Tasks;
using System.Windows.Input;
using WalletWasabi.Blockchain.Analysis.Clustering;
using WalletWasabi.BuyAnything;
using WalletWasabi.Fluent.Extensions;
using WalletWasabi.Fluent.Helpers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Reactive.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using DynamicData.Tests;
using WalletWasabi.BuyAnything;
using WalletWasabi.Fluent.ViewModels.Wallets.Buy.Workflows;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.BuyAnything;
Expand Down
Loading

0 comments on commit adc20b9

Please sign in to comment.