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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user