Fix whitespace formatting

This commit is contained in:
softworkz
2025-11-15 08:05:31 +01:00
parent 30b547b8d3
commit 8e7892ebd4
106 changed files with 296 additions and 349 deletions

View File

@@ -35,4 +35,4 @@ namespace ElectronNET.API.Entities
[DefaultValue(false)]
public bool Vertical { get; set; } = false;
}
}
}

View File

@@ -10,4 +10,4 @@
/// </summary>
public float ScaleFactor { get; set; } = 1.0f;
}
}
}

View File

@@ -28,4 +28,4 @@
/// </summary>
public bool IsAdminRightsRequired { get; set; }
}
}
}

View File

@@ -22,4 +22,4 @@
/// </summary>
public string ProxyCredentials { get; set; }
}
}
}

View File

@@ -1,5 +1,4 @@
using ElectronNET.Converter;
using System.ComponentModel;
using System.Text.Json.Serialization;
@@ -296,8 +295,4 @@ namespace ElectronNET.API.Entities
/// </summary>
public string ProxyCredentials { get; set; }
}
}
}

View File

@@ -11,9 +11,9 @@
public double PercentCPUUsage { get; set; }
/// <summary>
/// The number of average idle cpu wakeups per second since the last call to
/// The number of average idle cpu wakeups per second since the last call to
/// getCPUUsage.First call returns 0.
/// </summary>
public int IdleWakeupsPerSecond { get; set; }
}
}
}

View File

@@ -26,4 +26,4 @@
/// </summary>
public string Version { get; set; }
}
}
}

View File

@@ -21,4 +21,4 @@
/// </summary>
public string[] Quotas { get; set; }
}
}
}

View File

@@ -1,10 +1,9 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
{
/// <summary>
/// The cause of the change
/// The cause of the change
/// </summary>
public enum CookieChangedCause
{
@@ -35,4 +34,4 @@ namespace ElectronNET.API.Entities
[JsonPropertyName("expired_overwrite")]
expiredOverwrite
}
}
}

View File

@@ -49,7 +49,7 @@ namespace ElectronNET.API.Entities
public bool HttpOnly { get; set; }
/// <summary>
/// (optional) - The expiration date of the cookie as the number of seconds since the UNIX epoch.
/// (optional) - The expiration date of the cookie as the number of seconds since the UNIX epoch.
/// If omitted then the cookie becomes a session cookie and will not be retained between sessions.
/// </summary>
[DefaultValue(0)]

View File

@@ -20,4 +20,4 @@
/// </summary>
public float ScaleFactor { get; set; } = 1.0f;
}
}
}

View File

@@ -64,4 +64,4 @@
ETag = eTag;
}
}
}
}

View File

@@ -25,4 +25,4 @@
/// </summary>
public int UploadThroughput { get; set; }
}
}
}

View File

@@ -35,4 +35,4 @@
/// </summary>
public string Version { get; set; }
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities

View File

@@ -77,6 +77,4 @@ namespace ElectronNET.API.Entities
/// </summary>
public InputEventType Type { get; set; }
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
@@ -23,5 +22,4 @@ namespace ElectronNET.API.Entities
/// </summary>
public JumpListCategoryType Type { get; set; }
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
@@ -54,6 +53,4 @@ namespace ElectronNET.API.Entities
/// </summary>
public JumpListItemType Type { get; set; }
}
}
}

View File

@@ -11,7 +11,7 @@
public int WorkingSetSize { get; set; }
/// <summary>
/// The maximum amount of memory that has ever been pinned to actual physical RAM.
/// The maximum amount of memory that has ever been pinned to actual physical RAM.
/// </summary>
public int PeakWorkingSetSize { get; set; }

View File

@@ -9,7 +9,7 @@ namespace ElectronNET.API.Entities
public class MenuItem
{
/// <summary>
/// Will be called with click(menuItem, browserWindow, event) when the menu item is
/// Will be called with click(menuItem, browserWindow, event) when the menu item is
/// clicked.
/// </summary>
[JsonIgnore]
@@ -96,6 +96,4 @@ namespace ElectronNET.API.Entities
/// </summary>
public string Position { get; set; }
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
@@ -97,6 +96,4 @@ namespace ElectronNET.API.Entities
Message = message;
}
}
}
}

View File

@@ -21,4 +21,4 @@
/// </value>
public bool CheckboxChecked { get; set; }
}
}
}

View File

@@ -35,5 +35,4 @@ namespace ElectronNET.API.Entities
return new NativeImage(newDictionary);
}
}
}
}

View File

@@ -15,4 +15,4 @@ public class OnDidFailLoadInfo
/// Validated URL.
/// </summary>
public string ValidatedUrl { get; set; }
}
}

View File

@@ -14,4 +14,4 @@ public class OnDidNavigateInfo
/// HTTP response code.
/// </summary>
public int HttpResponseCode { get; set; }
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
@@ -15,5 +14,4 @@ namespace ElectronNET.API.Entities
/// </summary>
public DevToolsMode Mode { get; set; }
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
@@ -41,7 +40,7 @@ namespace ElectronNET.API.Entities
public string Message { get; set; }
/// <summary>
/// The filters specifies an array of file types that can be displayed or
/// The filters specifies an array of file types that can be displayed or
/// selected when you want to limit the user to a specific type. For example:
/// </summary>
/// <example>
@@ -57,5 +56,4 @@ namespace ElectronNET.API.Entities
/// </example>
public FileFilter[] Filters { get; set; }
}
}
}

View File

@@ -17,4 +17,4 @@ public class PageSize
public static implicit operator string(PageSize pageSize) => pageSize?._value;
public static implicit operator PageSize(string value) => new(value);
}
}

View File

@@ -20,7 +20,7 @@ namespace ElectronNET.API.Entities
AppData,
/// <summary>
/// The directory for storing your apps configuration files,
/// The directory for storing your apps configuration files,
/// which by default it is the appData directory appended with your apps name.
/// </summary>
[Description("userData")]
@@ -92,4 +92,4 @@ namespace ElectronNET.API.Entities
[Description("PepperFlashSystemPlugin")]
PepperFlashSystemPlugin
}
}
}

View File

@@ -7,4 +7,4 @@ namespace ElectronNET.API.Entities
/// <param name="Electron">Value representing Electron's version string</param>
/// <returns></returns>
public record ProcessVersions(string Chrome, string Electron);
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
@@ -13,5 +12,4 @@ namespace ElectronNET.API.Entities
/// </summary>
public ProgressBarMode Mode { get; set; }
}
}
}

View File

@@ -30,4 +30,4 @@
/// </summary>
public string Transferred { get; set; }
}
}
}

View File

@@ -33,4 +33,4 @@
ProxyBypassRules = proxyBypassRules;
}
}
}
}

View File

@@ -15,4 +15,4 @@
/// </summary>
public string Note { get; set; }
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities
@@ -25,7 +24,7 @@ namespace ElectronNET.API.Entities
public string Realm { get; set; }
/// <summary>
/// Scheme of the authentication. Can be basic, digest, ntlm, negotiate.
/// Scheme of the authentication. Can be basic, digest, ntlm, negotiate.
/// Must be provided if removing by origin.
/// </summary>
public Scheme Scheme { get; set; }
@@ -49,6 +48,4 @@ namespace ElectronNET.API.Entities
Type = type;
}
}
}
}

View File

@@ -20,4 +20,4 @@
/// </summary>
public string Quality { get; set; } = "best";
}
}
}

View File

@@ -27,7 +27,7 @@ namespace ElectronNET.API
public string ButtonLabel { get; set; }
/// <summary>
/// The filters specifies an array of file types that can be displayed or
/// The filters specifies an array of file types that can be displayed or
/// selected when you want to limit the user to a specific type. For example:
/// </summary>
/// <example>

View File

@@ -25,4 +25,4 @@ namespace ElectronNET.API.Entities
[Description("replace")]
Replace
}
}
}

View File

@@ -56,5 +56,4 @@ namespace ElectronNET.API.Entities
Icon = icon;
}
}
}
}

View File

@@ -1,4 +1,3 @@
using System.Text.Json.Serialization;
namespace ElectronNET.API.Entities

View File

@@ -10,4 +10,4 @@
/// </summary>
public float ScaleFactor { get; set; } = 1.0f;
}
}
}

View File

@@ -10,4 +10,4 @@
/// </summary>
public float ScaleFactor { get; set; } = 1.0f;
}
}
}

View File

@@ -10,4 +10,4 @@
/// </summary>
public float ScaleFactor { get; set; } = 1.0f;
}
}
}

View File

@@ -20,4 +20,4 @@
/// </summary>
public UpdateCancellationToken CancellationToken { get; set; }
}
}
}

View File

@@ -10,4 +10,4 @@
/// </summary>
public string Url { get; set; }
}
}
}

View File

@@ -213,4 +213,4 @@ namespace ElectronNET.API.Entities
[DefaultValue(false)]
public bool EnableRemoteModule { get; set; } = false;
}
}
}