namespace ZB.MOM.WW.OtOpcUa.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
{
    /// <inheritdoc />
    public void Post(Action action)
    {
        action();
    }
}