Apply folder and namespace fixes on solution.

This commit is contained in:
Jared Goodwin 2024-10-21 11:53:41 -07:00
parent bbddfbc220
commit 0f023d2d6f
236 changed files with 155 additions and 908 deletions

View File

@ -1,11 +1,7 @@
using Remotely.Shared.Models;
using Remotely.Shared.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using System.Threading.Tasks;
namespace Remotely.Agent.Extensions;

View File

@ -1,5 +1,4 @@
using Microsoft.AspNetCore.SignalR.Client;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Remotely.Agent.Interfaces;

View File

@ -1,9 +1,4 @@
using Remotely.Shared.Dtos;
using Remotely.Shared.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Remotely.Agent.Interfaces;

View File

@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Remotely.Agent.Interfaces;
namespace Remotely.Agent.Interfaces;
public interface IScriptingShell
{
bool IsDisposed { get; }

View File

@ -1,5 +1,4 @@
using System;
using System.Threading.Tasks;
using System.Threading.Tasks;
namespace Remotely.Agent.Interfaces;

View File

@ -1,5 +1,4 @@
using Remotely.Desktop.Shared.Native.Windows;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
@ -19,6 +18,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Timers;
using Timer = System.Timers.Timer;
using Remotely.Desktop.Native.Windows;
namespace Remotely.Agent.Services;

View File

@ -3,7 +3,6 @@ using Microsoft.Extensions.Logging;
using Remotely.Agent.Interfaces;
using Remotely.Agent.Models;
using Remotely.Shared.Models;
using Remotely.Shared.Utilities;
using System;
using System.Diagnostics;
using System.IO;

View File

@ -5,7 +5,6 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

View File

@ -4,7 +4,6 @@ using Remotely.Shared.Models;
using Remotely.Shared.Utilities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.NetworkInformation;

View File

@ -3,7 +3,6 @@ using Remotely.Agent.Interfaces;
using Remotely.Shared.Dtos;
using Remotely.Shared.Enums;
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;
using System.Threading;

View File

@ -1,12 +1,9 @@
using Microsoft.Extensions.Logging;
using Remotely.Shared.Services;
using System;
using Remotely.Shared.Services;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

View File

@ -1,13 +1,9 @@
using Microsoft.Extensions.Logging;
using Remotely.Agent.Interfaces;
using Remotely.Shared.Dtos;
using Remotely.Shared.Models;
using Remotely.Shared.Services;
using Remotely.Shared.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Remotely.Agent.Services.Linux;

View File

@ -2,15 +2,12 @@
using Remotely.Agent.Interfaces;
using Remotely.Shared.Utilities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

View File

@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
using Remotely.Agent.Interfaces;

View File

@ -1,7 +1,6 @@
using Microsoft.Extensions.Logging;
using Remotely.Agent.Interfaces;
using Remotely.Shared.Dtos;
using Remotely.Shared.Models;
using Remotely.Shared.Services;
using System;
using System.Linq;

View File

@ -2,15 +2,12 @@ using Microsoft.Extensions.Logging;
using Remotely.Agent.Interfaces;
using Remotely.Shared.Utilities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

View File

@ -1,10 +1,8 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging;
using Remotely.Agent.Interfaces;
using Remotely.Shared.Dtos;
using Remotely.Shared.Models;
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;
using System.Management.Automation;

View File

@ -1,6 +1,4 @@
using Remotely.Shared.Extensions;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Hosting;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Logging;
using Remotely.Shared;
using Remotely.Shared.Dtos;

View File

@ -1,5 +1,4 @@
using Microsoft.Win32;
using Remotely.Shared.Utilities;
using Remotely.Shared.Utilities;
using System;
using System.Diagnostics;
using System.IO;

View File

@ -1,6 +1,5 @@
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;

View File

@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace Remotely.Agent.Services;

View File

@ -1,5 +1,4 @@
using Remotely.Desktop.Shared.Native.Windows;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Logging;
using Remotely.Agent.Interfaces;
using Remotely.Shared.Models;
@ -10,6 +9,7 @@ using System.IO;
using System.Runtime.Versioning;
using System.Security.Principal;
using System.Threading.Tasks;
using Remotely.Desktop.Native.Windows;
namespace Remotely.Agent.Services.Windows;

View File

@ -1,10 +1,10 @@
using Remotely.Desktop.Shared.Native.Windows;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging;
using Remotely.Agent.Interfaces;
using Remotely.Shared.Dtos;
using System;
using System.Linq;
using System.Threading.Tasks;
using Remotely.Desktop.Native.Windows;
namespace Remotely.Agent.Services.Windows;

View File

@ -11,9 +11,8 @@ using Remotely.Desktop.Linux.Startup;
using Remotely.Desktop.UI.Services;
using Avalonia;
using Remotely.Desktop.UI;
using Desktop.Shared.Services;
namespace Remotely.Desktop.XPlat;
namespace Remotely.Desktop.Linux;
public class Program
{

View File

@ -4,7 +4,6 @@ using Remotely.Desktop.Shared.Services;
using Remotely.Desktop.UI.Services;
using Remotely.Shared.Models;
using Microsoft.Extensions.Logging;
using Desktop.Shared.Services;
namespace Remotely.Desktop.Linux.Services;

View File

@ -1,8 +1,8 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Enums;
using Remotely.Desktop.Shared.Native.Linux;
using Remotely.Desktop.Shared.Services;
using Microsoft.Extensions.Logging;
using Remotely.Desktop.Native.Linux;
namespace Remotely.Desktop.Linux.Services;

View File

@ -1,11 +1,11 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Native.Linux;
using Remotely.Desktop.Shared.Services;
using Microsoft.Extensions.Logging;
using Remotely.Shared.Primitives;
using SkiaSharp;
using System.Drawing;
using System.Runtime.InteropServices;
using Remotely.Desktop.Native.Linux;
namespace Remotely.Desktop.Linux.Services;

View File

@ -2,7 +2,6 @@ using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Startup;
using Microsoft.Extensions.DependencyInjection;
using Remotely.Desktop.Linux.Services;
using Remotely.Desktop.UI.ViewModels;
using Remotely.Desktop.UI.Services;
using Remotely.Desktop.UI.Startup;

View File

@ -1,5 +1,4 @@
global using System;
global using System.Collections.Generic;
global using System.Linq;
global using System.Text;
global using System.Threading.Tasks;

View File

@ -26,7 +26,7 @@ in this Software without prior written authorization from The Open Group.
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Linux;
namespace Remotely.Desktop.Native.Linux;
public static unsafe class LibX11
{

View File

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Linux;
namespace Remotely.Desktop.Native.Linux;
public class LibXtst
{

View File

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Linux;
namespace Remotely.Desktop.Native.Linux;
public class Libc
{

View File

@ -29,7 +29,7 @@
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Linux;
namespace Remotely.Desktop.Native.Linux;
public static class LibXrandr
{

View File

@ -1,8 +1,7 @@
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace Remotely.Desktop.Shared.Native.Windows;
namespace Remotely.Desktop.Native.Windows;
public static class ADVAPI32
{

View File

@ -1,7 +1,6 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Windows;
namespace Remotely.Desktop.Native.Windows;
public static class GDI32
{

View File

@ -1,7 +1,6 @@
using System;
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Windows;
namespace Remotely.Desktop.Native.Windows;
public static class Kernel32
{

View File

@ -1,8 +1,7 @@
using Remotely.Desktop.Shared.Native.Windows;
using Microsoft.Win32.SafeHandles;
using System;
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using Remotely.Desktop.Native.Windows;
public static class SECUR32
{

View File

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Windows;
namespace Remotely.Desktop.Native.Windows;
// https://docs.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-isos
public class Shlwapi

View File

@ -1,7 +1,7 @@
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Windows;
namespace Remotely.Desktop.Native.Windows;
public static class User32
{

View File

@ -1,7 +1,6 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices;
namespace Remotely.Desktop.Shared.Native.Windows;
namespace Remotely.Desktop.Native.Windows;
public static class WTSAPI32
{

View File

@ -3,10 +3,10 @@ using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Text;
using static Remotely.Desktop.Shared.Native.Windows.ADVAPI32;
using static Remotely.Desktop.Shared.Native.Windows.User32;
using static Remotely.Desktop.Native.Windows.ADVAPI32;
using static Remotely.Desktop.Native.Windows.User32;
namespace Remotely.Desktop.Shared.Native.Windows;
namespace Remotely.Desktop.Native.Windows;
// TODO: Use https://github.com/microsoft/CsWin32 for all p/invokes.
public class Win32Interop
@ -222,7 +222,7 @@ public class Win32Interop
// If exact match is found, return that session.
return (uint)targetSessionId;
}
if (Shlwapi.IsOS(OsType.OS_ANYSERVER))
{
// If Windows Server, default to console session.

View File

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Input;
namespace Remotely.Desktop.Shared.Reactive;

View File

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Input;
namespace Remotely.Desktop.Shared.Reactive;

View File

@ -1,14 +1,11 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Services;
using Remotely.Shared.Models;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging;
using Remotely.Shared.Entities;
using Remotely.Shared.Primitives;
using Remotely.Shared.Services;
using System.Diagnostics;
using System.Net.Http.Json;
namespace Desktop.Shared.Services;
namespace Remotely.Desktop.Shared.Services;
public interface IBrandingProvider
{

View File

@ -1,7 +1,7 @@
using Remotely.Desktop.Shared.Native.Linux;
using Remotely.Desktop.Native.Linux;
using System.Security.Principal;
namespace Desktop.Shared.Services;
namespace Remotely.Desktop.Shared.Services;
public interface IDesktopEnvironment
{

View File

@ -1,6 +1,5 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Messages;
using Remotely.Desktop.Shared.Native.Windows;
using Remotely.Shared.Enums;
using Remotely.Shared.Interfaces;
using Remotely.Shared.Models;
@ -10,6 +9,7 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Remotely.Shared.Primitives;
using System.Diagnostics;
using Remotely.Desktop.Native.Windows;
namespace Remotely.Desktop.Shared.Services;

View File

@ -1,10 +1,10 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Enums;
using Remotely.Desktop.Shared.Native.Windows;
using Remotely.Shared.Helpers;
using Remotely.Shared.Models.Dtos;
using MessagePack;
using Microsoft.Extensions.Logging;
using Remotely.Desktop.Native.Windows;
namespace Remotely.Desktop.Shared.Services;

View File

@ -1,5 +1,4 @@
using Remotely.Desktop.Shared.Abstractions;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Logging;
using System.Timers;

View File

@ -1,4 +1,3 @@
using Microsoft.Extensions.DependencyInjection;
using SkiaSharp;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Enums;
@ -6,10 +5,8 @@ using Remotely.Shared.Models;
using Microsoft.Extensions.Logging;
using Remotely.Shared.Helpers;
using Remotely.Shared.Models.Dtos;
using MessagePack;
using Remotely.Shared.Services;
using Microsoft.IO;
using System.Diagnostics;
using Bitbound.SimpleMessenger;
using Remotely.Desktop.Shared.Messages;

View File

@ -7,7 +7,7 @@ using Remotely.Shared.Models.Dtos;
using Remotely.Desktop.Shared.ViewModels;
using Microsoft.AspNetCore.SignalR.Client;
using Remotely.Shared.Services;
using Remotely.Desktop.Shared.Native.Windows;
using Remotely.Desktop.Native.Windows;
namespace Remotely.Desktop.Shared.Services;

View File

@ -2,11 +2,6 @@
using Remotely.Shared.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Remotely.Desktop.Shared.Services;

View File

@ -4,8 +4,6 @@ using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Bitbound.SimpleMessenger;
using Desktop.Shared.Services;
using Remotely.Desktop.Shared.Abstractions;
namespace Remotely.Desktop.Shared.Startup;

View File

@ -1,6 +1,5 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Enums;
using Remotely.Desktop.Shared.Native.Windows;
using Remotely.Desktop.Shared.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
@ -8,6 +7,7 @@ using Remotely.Shared.Primitives;
using System.CommandLine;
using System.CommandLine.NamingConventionBinder;
using System.Runtime.Versioning;
using Remotely.Desktop.Native.Windows;
namespace Remotely.Desktop.Shared.Startup;

View File

@ -1,10 +1,8 @@
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using CommunityToolkit.Diagnostics;
using Remotely.Desktop.Shared;
using Microsoft.Extensions.DependencyInjection;
using System.Threading;
namespace Remotely.Desktop.UI.Controls.Dialogs;

View File

@ -1,8 +1,6 @@
using Avalonia.Controls;
using Remotely.Desktop.Shared.Abstractions;
using System.ComponentModel;
using Remotely.Desktop.UI.Controls.Dialogs;
using CommunityToolkit.Diagnostics;
using Remotely.Shared.Models;
namespace Remotely.Desktop.UI.Services;

View File

@ -1,6 +1,5 @@
using Remotely.Desktop.Shared.Abstractions;
using Microsoft.Extensions.Logging;
using System.Threading;
namespace Remotely.Desktop.UI.Services;

View File

@ -1,10 +1,4 @@
using Remotely.Desktop.UI.Controls.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Remotely.Desktop.UI.Services;

View File

@ -1,7 +1,6 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Shared.Enums;
using Microsoft.Extensions.Logging;
using System.Threading;
namespace Remotely.Desktop.UI.Services;

View File

@ -6,7 +6,6 @@ using Avalonia.Threading;
using Remotely.Shared.Helpers;
using Microsoft.Extensions.Logging;
using Remotely.Shared.Primitives;
using System.Threading;
namespace Remotely.Desktop.UI.Services;

View File

@ -2,8 +2,6 @@
using Remotely.Desktop.Shared.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
using Desktop.Shared.Services;
namespace Remotely.Desktop.UI.Services;

View File

@ -1,14 +1,10 @@
using Avalonia.Controls;
using Avalonia.Media;
using Avalonia.Media.Imaging;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Reactive;
using Remotely.Shared.Models;
using Microsoft.Extensions.Logging;
using Remotely.Shared.Entities;
using System.IO;
using System.Reflection;
using Desktop.Shared.Services;
using Remotely.Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,14 +1,12 @@
using Avalonia.Controls;
using System.Collections.ObjectModel;
using System.IO;
using System.Text.Json;
using System.Windows.Input;
using Remotely.Desktop.Shared.Abstractions;
using Microsoft.Extensions.Logging;
using Remotely.Desktop.Shared.Reactive;
using Microsoft.Extensions.DependencyInjection;
using Remotely.Shared.Models;
using Desktop.Shared.Services;
using Remotely.Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,11 +1,7 @@
using Avalonia.Controls;
using Avalonia.Media;
using Avalonia.Media.Imaging;
using Remotely.Desktop.UI.Controls.Dialogs;
using Remotely.Shared.Models;
using Remotely.Shared.Entities;
using System.Diagnostics;
using System.IO;
namespace Remotely.Desktop.UI.ViewModels.Fakes;

View File

@ -5,7 +5,6 @@ using Remotely.Desktop.Shared.ViewModels;
using Remotely.Shared.Models;
using Remotely.Shared.Models.Dtos;
using System.Collections.ObjectModel;
using System.Threading;
using System.Windows.Input;
namespace Remotely.Desktop.UI.ViewModels.Fakes;

View File

@ -2,12 +2,10 @@
using Remotely.Desktop.Shared.Services;
using Remotely.Desktop.Shared.ViewModels;
using System.Collections.ObjectModel;
using System.IO;
using System.Windows.Input;
using Remotely.Desktop.Shared.Abstractions;
using Microsoft.Extensions.Logging;
using Remotely.Desktop.Shared.Reactive;
using Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,9 +1,8 @@
using Avalonia.Controls;
using System.Windows.Input;
using Remotely.Desktop.Shared.Abstractions;
using Microsoft.Extensions.Logging;
using Remotely.Desktop.Shared.Reactive;
using Desktop.Shared.Services;
using Remotely.Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,17 +1,13 @@
using Avalonia.Controls;
using Avalonia.Threading;
using Remotely.Desktop.Shared.Services;
using Remotely.Shared.Models;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Windows.Input;
using Remotely.Desktop.Shared.Abstractions;
using Microsoft.Extensions.Logging;
using Remotely.Desktop.Shared.Reactive;
using Microsoft.Extensions.DependencyInjection;
using Remotely.Desktop.UI.Controls.Dialogs;
using Remotely.Desktop.Shared.Native.Linux;
using Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,6 +1,5 @@
using Remotely.Desktop.Shared.Abstractions;
using Microsoft.Extensions.Logging;
using Desktop.Shared.Services;
using Microsoft.Extensions.Logging;
using Remotely.Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,10 +1,9 @@
using Avalonia.Controls;
using System.Windows.Input;
using Remotely.Desktop.Shared.Reactive;
using Remotely.Desktop.Shared.Abstractions;
using Microsoft.Extensions.Logging;
using Remotely.Desktop.UI.Controls.Dialogs;
using Desktop.Shared.Services;
using Remotely.Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,9 +1,8 @@
using Avalonia.Controls;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Reactive;
using Microsoft.Extensions.Logging;
using System.Windows.Input;
using Desktop.Shared.Services;
using Remotely.Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,8 +1,7 @@
using Remotely.Desktop.Shared;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.UI.Controls.Dialogs;
using Microsoft.Extensions.Logging;
using Desktop.Shared.Services;
using Remotely.Desktop.Shared.Services;
namespace Remotely.Desktop.UI.ViewModels;

View File

@ -1,5 +1,4 @@
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls;
using Avalonia.Interactivity;
namespace Remotely.Desktop.UI.Views;

View File

@ -1,10 +1,5 @@
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Microsoft.Extensions.DependencyInjection;
using Remotely.Desktop.Shared;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.UI.Controls.Dialogs;
namespace Remotely.Desktop.UI.Views;

View File

@ -1,5 +1,4 @@
using Avalonia;
using Desktop.Shared.Services;
using Remotely.Desktop.Shared.Services;
using Remotely.Desktop.Shared.Startup;
using Remotely.Desktop.UI;
@ -10,10 +9,7 @@ using Remotely.Shared.Services;
using Remotely.Shared.Utilities;
using System.Diagnostics;
using System.Runtime.Versioning;
using System.Threading;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.UI.Startup;
using Remotely.Desktop.Win.Services;
namespace Remotely.Desktop.Win;

View File

@ -1,7 +1,6 @@
using Desktop.Shared.Services;
using Remotely.Desktop.Native.Windows;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Enums;
using Remotely.Desktop.Shared.Native.Windows;
using Remotely.Desktop.Shared.Services;
using Remotely.Desktop.UI.Services;
using Remotely.Shared.Models;

View File

@ -1,5 +1,5 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Native.Windows;
using Remotely.Desktop.Native.Windows;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Shared.Models;
using System.Drawing;
using System.Drawing.Imaging;

View File

@ -1,13 +1,13 @@
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Native.Windows;
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Enums;
using Remotely.Desktop.Shared.Native.Windows;
using Remotely.Desktop.Shared.Services;
using Remotely.Desktop.UI.Services;
using System.Collections.Concurrent;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using static Remotely.Desktop.Shared.Native.Windows.User32;
using static Remotely.Desktop.Native.Windows.User32;
namespace Remotely.Desktop.Win.Services;

View File

@ -22,7 +22,6 @@
// THE SOFTWARE.
using Remotely.Desktop.Shared.Abstractions;
using Remotely.Desktop.Shared.Native.Windows;
using Remotely.Desktop.Shared.Services;
using Remotely.Shared.Models;
using Bitbound.SimpleMessenger;
@ -42,6 +41,7 @@ using System.Runtime.Versioning;
using Result = Remotely.Shared.Primitives.Result;
using Remotely.Desktop.Shared.Messages;
using Remotely.Shared.Primitives;
using Remotely.Desktop.Native.Windows;
namespace Remotely.Desktop.Win.Services;

View File

@ -1,17 +1,11 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.Logging;
using Remotely.Server.Hubs;
using Remotely.Server.RateLimiting;
using Remotely.Server.Services;
using Remotely.Shared.Interfaces;
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -1,19 +1,10 @@
using Remotely.Shared.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Build.Framework;
using Microsoft.Extensions.Logging;
using Remotely.Server.Auth;
using Remotely.Server.Extensions;
using Remotely.Server.Services;
using Remotely.Shared.Models;
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -1,14 +1,7 @@
using Remotely.Shared.Extensions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Build.Framework;
using Microsoft.Extensions.Logging;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -1,15 +1,11 @@
using Remotely.Shared.Extensions;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Remotely.Server.Auth;
using Remotely.Server.Extensions;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using Remotely.Shared.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -3,10 +3,6 @@ using Remotely.Server.Auth;
using Remotely.Server.Extensions;
using Remotely.Server.Services;
using Remotely.Shared;
using Remotely.Shared.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -1,8 +1,6 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
using Remotely.Server.Auth;
using Remotely.Server.Services;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -2,7 +2,6 @@
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Logging;
using Remotely.Server.Auth;
using Remotely.Server.Extensions;
using Remotely.Server.Services;
@ -10,7 +9,6 @@ using Remotely.Shared.Entities;
using Remotely.Shared.ViewModels;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860

View File

@ -1,12 +1,7 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
using Remotely.Server.Auth;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -1,16 +1,11 @@
using Remotely.Shared.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Build.Framework;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Remotely.Server.Auth;
using Remotely.Server.Extensions;
using Remotely.Server.Services;
using Remotely.Shared.Dtos;
using Remotely.Shared.Models;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -4,9 +4,6 @@ using Microsoft.AspNetCore.SignalR;
using Remotely.Server.Hubs;
using Remotely.Server.Services;
using Remotely.Shared.Utilities;
using System;
using System.IO;
using System.Threading.Tasks;
using Remotely.Shared.Enums;
using Remotely.Server.Auth;
using Remotely.Shared.Helpers;

View File

@ -1,12 +1,6 @@
using Microsoft.AspNetCore.Mvc;
using Remotely.Server.Auth;
using System.Text;
using System.Text.Json;
using System;
using Microsoft.Extensions.Logging;
using Remotely.Server.Services;
using System.IO;
using System.Threading.Tasks;
namespace Remotely.Server.API;

View File

@ -1,15 +1,8 @@
using Remotely.Shared.Extensions;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Build.Framework;
using Microsoft.Extensions.Logging;
using Remotely.Server.Services;
using Remotely.Shared;
using System;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Remotely.Server.Auth;

View File

@ -1,12 +1,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
using Remotely.Server.Services;
using Remotely.Shared;
using Remotely.Shared.Utilities;
using System;
using System.Net;
using System.Threading.Tasks;
namespace Remotely.Server.Auth;

View File

@ -1,8 +1,5 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using System.Threading.Tasks;
namespace Remotely.Server.Auth;

View File

@ -1,10 +1,7 @@
#nullable enable
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using System.Threading.Tasks;
namespace Remotely.Server.Auth;

View File

@ -1,8 +1,4 @@
using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Remotely.Server.Auth;

View File

@ -1,4 +1,3 @@
using Remotely.Server.Data;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using Remotely.Shared.Entities;

View File

@ -1,4 +1,3 @@
using Remotely.Server.Data;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Server;
using Microsoft.AspNetCore.Identity;

View File

@ -1,4 +1,3 @@
using Remotely.Server.Data;
using Microsoft.AspNetCore.Identity;
using Remotely.Shared.Entities;

View File

@ -1,12 +1,8 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Logging;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
namespace Remotely.Server.Components;

View File

@ -1,16 +1,9 @@
using Bitbound.SimpleMessenger;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components;
using Remotely.Server.Hubs;
using Remotely.Server.Models.Messages;
using Remotely.Server.Services.Stores;
using Remotely.Shared.Entities;
using Remotely.Shared.Enums;
using Remotely.Shared.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Remotely.Server.Components.Devices;

View File

@ -1,5 +1,4 @@
using Bitbound.SimpleMessenger;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.AspNetCore.Components.Web;
using Remotely.Server.Enums;
@ -12,11 +11,8 @@ using Remotely.Shared.Entities;
using Remotely.Shared.Enums;
using Remotely.Shared.Utilities;
using Remotely.Shared.ViewModels;
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
namespace Remotely.Server.Components.Devices;

Some files were not shown because too many files have changed in this diff Show More