Apply code style formatting and restore partial modifiers on Avalonia views

Linter/formatter pass across the full codebase. Restores required partial
keyword on AXAML code-behind classes that the formatter incorrectly removed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Joseph Doherty
2026-03-31 07:58:13 -04:00
parent 55ef854612
commit 41a6b66943
221 changed files with 4274 additions and 3823 deletions

View File

@@ -3,7 +3,7 @@ using Avalonia.Threading;
namespace ZB.MOM.WW.LmxOpcUa.Client.UI.Services;
/// <summary>
/// Dispatches actions to the Avalonia UI thread.
/// Dispatches actions to the Avalonia UI thread.
/// </summary>
public sealed class AvaloniaUiDispatcher : IUiDispatcher
{
@@ -11,4 +11,4 @@ public sealed class AvaloniaUiDispatcher : IUiDispatcher
{
Dispatcher.UIThread.Post(action);
}
}
}

View File

@@ -1,12 +1,12 @@
namespace ZB.MOM.WW.LmxOpcUa.Client.UI.Services;
/// <summary>
/// Abstraction for dispatching actions to the UI thread.
/// Abstraction for dispatching actions to the UI thread.
/// </summary>
public interface IUiDispatcher
{
/// <summary>
/// Posts an action to be executed on the UI thread.
/// Posts an action to be executed on the UI thread.
/// </summary>
void Post(Action action);
}
}

View File

@@ -1,8 +1,8 @@
namespace ZB.MOM.WW.LmxOpcUa.Client.UI.Services;
/// <summary>
/// Dispatcher that executes actions synchronously on the calling thread.
/// Used for unit testing where no UI thread is available.
/// Dispatcher that executes actions synchronously on the calling thread.
/// Used for unit testing where no UI thread is available.
/// </summary>
public sealed class SynchronousUiDispatcher : IUiDispatcher
{
@@ -10,4 +10,4 @@ public sealed class SynchronousUiDispatcher : IUiDispatcher
{
action();
}
}
}