Files
lmxopcua/src/ZB.MOM.WW.LmxOpcUa.Client.UI/Services/SynchronousUiDispatcher.cs
Joseph Doherty 41a6b66943 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>
2026-03-31 07:58:13 -04:00

13 lines
349 B
C#

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.
/// </summary>
public sealed class SynchronousUiDispatcher : IUiDispatcher
{
public void Post(Action action)
{
action();
}
}