qol: formatting

This commit is contained in:
Gary Sharp
2025-07-20 13:47:56 +10:00
parent 49da389c2c
commit 5792771ea1
158 changed files with 693 additions and 679 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
using System;
using Disco.Client.Extensions;
using Newtonsoft.Json;
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Reflection;
using Disco.Client.Extensions;
using Newtonsoft.Json;
namespace Disco.Client
{
@@ -8,13 +8,13 @@ namespace Disco.Client.Extensions
{
public static class ClientServicesExtensions
{
//#if DEBUG
// public const string ServicePathAuthenticatedTemplate = "http://WS-GSHARP:57252/Services/Client/Authenticated/{0}";
// public const string ServicePathUnauthenticatedTemplate = "http://WS-GSHARP:57252/Services/Client/Unauthenticated/{0}";
//#else
//#if DEBUG
// public const string ServicePathAuthenticatedTemplate = "http://WS-GSHARP:57252/Services/Client/Authenticated/{0}";
// public const string ServicePathUnauthenticatedTemplate = "http://WS-GSHARP:57252/Services/Client/Unauthenticated/{0}";
//#else
public const string ServicePathAuthenticatedTemplate = "http://DISCO:9292/Services/Client/Authenticated/{0}";
public const string ServicePathUnauthenticatedTemplate = "http://DISCO:9292/Services/Client/Unauthenticated/{0}";
//#endif
//#endif
public static ResponseType Post<ResponseType>(this ServiceBase<ResponseType> Service, bool Authenticated)
{
+2 -2
View File
@@ -1,5 +1,5 @@
using System.Text;
using Disco.Models.ClientServices;
using Disco.Models.ClientServices;
using System.Text;
namespace Disco.Client.Extensions
{
@@ -10,7 +10,7 @@ namespace Disco.Client.Interop.Native
/// The number of wireless profile entries in the ProfileInfo member.
/// </summary>
public uint dwNumberOfItems;
/// <summary>
/// The index of the current item. The index of the first item is 0. The dwIndex member must be less than the dwNumberOfItems member.
/// This member is not used by the wireless service. Applications can use this member when processing individual profiles in the
+1 -1
View File
@@ -21,7 +21,7 @@ namespace Disco.Client.Interop
return adapters;
}
private static List<NetworkAdapter> GetWmiNetworkAdapters()
{
try
+3 -3
View File
@@ -1,9 +1,9 @@
using System;
using Disco.Client.Extensions;
using Disco.Client.Interop;
using System;
using System.Reflection;
using System.Text;
using System.Threading;
using Disco.Client.Extensions;
using Disco.Client.Interop;
namespace Disco.Client
{
+3 -3
View File
@@ -1,8 +1,8 @@
using System;
using Disco.Client.Extensions;
using Disco.Models.ClientServices;
using System;
using System.Linq;
using System.Net;
using Disco.Models.ClientServices;
using Disco.Client.Extensions;
namespace Disco.Client
{