From 5b3c2460fb0f63e487058216eed7adb737077d7b Mon Sep 17 00:00:00 2001 From: Takoooooo Date: Thu, 2 Jun 2022 16:57:49 +0300 Subject: [PATCH] Cleanup usings. --- templates/csharp/app-mvvm/Program.cs | 5 ++--- templates/csharp/app-mvvm/ViewModels/MainWindowViewModel.cs | 6 +----- templates/csharp/app-mvvm/ViewModels/ViewModelBase.cs | 5 +---- templates/csharp/app/Program.cs | 6 ++---- .../csharp/xplat/AvaloniaTest/ViewModels/MainViewModel.cs | 6 +----- .../csharp/xplat/AvaloniaTest/ViewModels/ViewModelBase.cs | 5 +---- 6 files changed, 8 insertions(+), 25 deletions(-) diff --git a/templates/csharp/app-mvvm/Program.cs b/templates/csharp/app-mvvm/Program.cs index d5d85bc7..1d551e9a 100644 --- a/templates/csharp/app-mvvm/Program.cs +++ b/templates/csharp/app-mvvm/Program.cs @@ -1,7 +1,6 @@ -using System; -using Avalonia; -using Avalonia.Controls.ApplicationLifetimes; +using Avalonia; using Avalonia.ReactiveUI; +using System; namespace AvaloniaAppTemplate { diff --git a/templates/csharp/app-mvvm/ViewModels/MainWindowViewModel.cs b/templates/csharp/app-mvvm/ViewModels/MainWindowViewModel.cs index 84d1939f..32abc410 100644 --- a/templates/csharp/app-mvvm/ViewModels/MainWindowViewModel.cs +++ b/templates/csharp/app-mvvm/ViewModels/MainWindowViewModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace AvaloniaAppTemplate.ViewModels +namespace AvaloniaAppTemplate.ViewModels { public class MainWindowViewModel : ViewModelBase { diff --git a/templates/csharp/app-mvvm/ViewModels/ViewModelBase.cs b/templates/csharp/app-mvvm/ViewModels/ViewModelBase.cs index b9f4d016..af4e9bda 100644 --- a/templates/csharp/app-mvvm/ViewModels/ViewModelBase.cs +++ b/templates/csharp/app-mvvm/ViewModels/ViewModelBase.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using ReactiveUI; +using ReactiveUI; namespace AvaloniaAppTemplate.ViewModels { diff --git a/templates/csharp/app/Program.cs b/templates/csharp/app/Program.cs index 1be73290..25e090c5 100644 --- a/templates/csharp/app/Program.cs +++ b/templates/csharp/app/Program.cs @@ -1,7 +1,5 @@ -using System; -using Avalonia; -using Avalonia.Controls; -using Avalonia.Controls.ApplicationLifetimes; +using Avalonia; +using System; namespace AvaloniaAppTemplate { diff --git a/templates/csharp/xplat/AvaloniaTest/ViewModels/MainViewModel.cs b/templates/csharp/xplat/AvaloniaTest/ViewModels/MainViewModel.cs index ff1e7c81..4a8d7af2 100644 --- a/templates/csharp/xplat/AvaloniaTest/ViewModels/MainViewModel.cs +++ b/templates/csharp/xplat/AvaloniaTest/ViewModels/MainViewModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace AvaloniaTest.ViewModels +namespace AvaloniaTest.ViewModels { public class MainViewModel : ViewModelBase { diff --git a/templates/csharp/xplat/AvaloniaTest/ViewModels/ViewModelBase.cs b/templates/csharp/xplat/AvaloniaTest/ViewModels/ViewModelBase.cs index c6854661..98120261 100644 --- a/templates/csharp/xplat/AvaloniaTest/ViewModels/ViewModelBase.cs +++ b/templates/csharp/xplat/AvaloniaTest/ViewModels/ViewModelBase.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using ReactiveUI; +using ReactiveUI; namespace AvaloniaTest.ViewModels {