more work on gtk & code cleanup

This commit is contained in:
2025-06-16 15:30:56 +02:00
parent 6f7bb5d92c
commit a49a3b2beb
69 changed files with 374 additions and 268 deletions

View File

@@ -6,7 +6,7 @@ namespace Pilz.IO;
public class EmbeddedFilesContainer
{
[JsonProperty("CompressedFiles")]
private readonly Dictionary<string, byte[]> compressedFiles = new Dictionary<string, byte[]>();
private readonly Dictionary<string, byte[]> compressedFiles = [];
/// <summary>
/// Returns the names of all embedded files.

View File

@@ -7,7 +7,7 @@ public class ManagedPipeServer : ManagedPipe
{
// Pro Verbindung (Anfrage) wird ein Client-Objekt generiert, das den Datenaustausch dieser Verbindung abwickelt
public List<ManagedPipeClient> Clients { get; private set; } = new List<ManagedPipeClient>();
public List<ManagedPipeClient> Clients { get; private set; } = [];
private readonly string pipeName = "";
private readonly int maxNumbersOfServerInstances;