namespace ZB.MOM.WW.OtOpcUa.Client.UI.Services;
///
/// Dispatcher that executes actions synchronously on the calling thread.
/// Used for unit testing where no UI thread is available.
///
public sealed class SynchronousUiDispatcher : IUiDispatcher
{
/// Executes the action synchronously on the calling thread.
/// The action to execute.
public void Post(Action action)
{
action();
}
}