Rename IPCMessageAction to IpcMessageAction for consistency

Renamed the IPCMessageAction class to IpcMessageAction in the PowerDisplay.Serialization namespace to follow C# naming conventions. Updated all references, including JSON source generation context, to use the new name.
This commit is contained in:
Yu Leng
2026-01-22 14:35:20 +08:00
parent 9be7eb84be
commit c6447639ff
3 changed files with 3 additions and 3 deletions

View File

@@ -340,7 +340,7 @@ CURRENTDIR
CURSORINFO
cursorpos
CURSORSHOWING
CURSORWRAP
cursorwrap
customaction
CUSTOMACTIONTEST
CUSTOMFORMATPLACEHOLDER

View File

@@ -10,7 +10,7 @@ namespace PowerDisplay.Serialization
/// IPC message wrapper for parsing action-based messages.
/// Used in App.xaml.cs for dynamic IPC command handling.
/// </summary>
internal sealed class IPCMessageAction
internal sealed class IpcMessageAction
{
[JsonPropertyName("action")]
public string? Action { get; set; }

View File

@@ -16,7 +16,7 @@ namespace PowerDisplay.Serialization
/// Note: MonitorStateFile and MonitorStateEntry are now in PowerDisplay.Lib
/// and should be serialized using ProfileSerializationContext from the Lib.
/// </summary>
[JsonSerializable(typeof(IPCMessageAction))]
[JsonSerializable(typeof(IpcMessageAction))]
[JsonSerializable(typeof(PowerDisplaySettings))]
[JsonSerializable(typeof(PowerDisplayProfiles))]
[JsonSerializable(typeof(PowerDisplayProfile))]