From 8d44a1a03a8b1f1b37c15f09c06071663fd174f1 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 14 Jan 2024 19:56:35 +0100 Subject: [PATCH] re-compile --- KinectConnection/DepthImageStream.cs | 4 ---- KinectConnection/InfraredImageStream.cs | 6 +----- KinectConnection/KinectConnection.csproj | 8 +++----- KinectConnection/KinectManager.cs | 8 -------- KinectConnection/KinectStream.cs | 5 ----- KinectConnection/KinectStreamsFactory.cs | 3 --- KinectConnection/Properties/AssemblyInfo.cs | 1 - KinectConnection/enums/KinectStreams.cs | 8 +------- KinectSensorStreams/App.xaml.cs | 11 +---------- .../Converter/KinectStatusToColorConverter.cs | 7 +------ KinectSensorStreams/View/MainWindow.xaml.cs | 12 ------------ KinectSensorStreams/ViewModel/MainWindowVM.cs | 12 ++---------- 12 files changed, 9 insertions(+), 76 deletions(-) diff --git a/KinectConnection/DepthImageStream.cs b/KinectConnection/DepthImageStream.cs index 017acde..3d417f0 100644 --- a/KinectConnection/DepthImageStream.cs +++ b/KinectConnection/DepthImageStream.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace KinectConnection { diff --git a/KinectConnection/InfraredImageStream.cs b/KinectConnection/InfraredImageStream.cs index c7df072..d95fdb4 100644 --- a/KinectConnection/InfraredImageStream.cs +++ b/KinectConnection/InfraredImageStream.cs @@ -1,13 +1,9 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace KinectConnection { /// - /// The infrared image stream . + /// The infrared image stream. /// public class InfraredImageStream : KinectStream { diff --git a/KinectConnection/KinectConnection.csproj b/KinectConnection/KinectConnection.csproj index 0459253..b86965b 100644 --- a/KinectConnection/KinectConnection.csproj +++ b/KinectConnection/KinectConnection.csproj @@ -77,10 +77,10 @@ - + - + @@ -88,9 +88,7 @@ - - - + diff --git a/KinectConnection/KinectManager.cs b/KinectConnection/KinectManager.cs index 46e2fd6..8433ebb 100644 --- a/KinectConnection/KinectManager.cs +++ b/KinectConnection/KinectManager.cs @@ -1,13 +1,5 @@ using CommunityToolkit.Mvvm.ComponentModel; using Microsoft.Kinect; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using System.Resources; -using System.Security.Policy; -using System.Text; -using System.Threading.Tasks; namespace KinectConnection { diff --git a/KinectConnection/KinectStream.cs b/KinectConnection/KinectStream.cs index 1b84e83..1f258a9 100644 --- a/KinectConnection/KinectStream.cs +++ b/KinectConnection/KinectStream.cs @@ -1,9 +1,4 @@ using Microsoft.Kinect; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace KinectConnection { diff --git a/KinectConnection/KinectStreamsFactory.cs b/KinectConnection/KinectStreamsFactory.cs index e931c3d..3532887 100644 --- a/KinectConnection/KinectStreamsFactory.cs +++ b/KinectConnection/KinectStreamsFactory.cs @@ -1,9 +1,6 @@ using KinectConnection.enums; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace KinectConnection { diff --git a/KinectConnection/Properties/AssemblyInfo.cs b/KinectConnection/Properties/AssemblyInfo.cs index fab162b..60d6889 100644 --- a/KinectConnection/Properties/AssemblyInfo.cs +++ b/KinectConnection/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de diff --git a/KinectConnection/enums/KinectStreams.cs b/KinectConnection/enums/KinectStreams.cs index 952308a..4326fd5 100644 --- a/KinectConnection/enums/KinectStreams.cs +++ b/KinectConnection/enums/KinectStreams.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace KinectConnection.enums +namespace KinectConnection.enums { /// /// The kinect streams enum. diff --git a/KinectSensorStreams/App.xaml.cs b/KinectSensorStreams/App.xaml.cs index d36007b..de11954 100644 --- a/KinectSensorStreams/App.xaml.cs +++ b/KinectSensorStreams/App.xaml.cs @@ -1,13 +1,4 @@ -using KinectSensorStreams.View; -using KinectSensorStreams.ViewModel; -using Microsoft.Extensions.DependencyInjection; -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Linq; -using System.Threading.Tasks; -using System.Windows; +using System.Windows; namespace KinectSensorStreams { diff --git a/KinectSensorStreams/Converter/KinectStatusToColorConverter.cs b/KinectSensorStreams/Converter/KinectStatusToColorConverter.cs index 8d163d5..a0c7ab1 100644 --- a/KinectSensorStreams/Converter/KinectStatusToColorConverter.cs +++ b/KinectSensorStreams/Converter/KinectStatusToColorConverter.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Globalization; using System.Windows.Data; using System.Windows.Media; diff --git a/KinectSensorStreams/View/MainWindow.xaml.cs b/KinectSensorStreams/View/MainWindow.xaml.cs index 8a0e093..9c3285e 100644 --- a/KinectSensorStreams/View/MainWindow.xaml.cs +++ b/KinectSensorStreams/View/MainWindow.xaml.cs @@ -1,17 +1,5 @@ using KinectSensorStreams.ViewModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Shapes; namespace KinectSensorStreams.View { diff --git a/KinectSensorStreams/ViewModel/MainWindowVM.cs b/KinectSensorStreams/ViewModel/MainWindowVM.cs index 19811ab..60f41c3 100644 --- a/KinectSensorStreams/ViewModel/MainWindowVM.cs +++ b/KinectSensorStreams/ViewModel/MainWindowVM.cs @@ -1,14 +1,6 @@ -using CommunityToolkit.Mvvm.ComponentModel; -using CommunityToolkit.Mvvm.Input; +using CommunityToolkit.Mvvm.Input; using KinectConnection; -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows.Input; -using System.Windows.Media; namespace KinectSensorStreams.ViewModel { @@ -33,7 +25,7 @@ namespace KinectSensorStreams.ViewModel /// /// Constructeur du ViewModel de la page principale /// - public MainWindowVM() + public MainWindowVM() { KinectManager = new KinectManager(); StartCommand = new RelayCommand(Start);