// Copyright © Selmo Technology GmbH. All Rights Reserved

namespace SelmoStudio.Hmi.Server.SelmoHmi.Sequence.Parameters
{
    public static class SequenceParameterChangeNotifierExtensions
    {
        public static void NotifyParameterChanged(this ISequenceParameterChangeNotifier notifier, string parameterName, object parameterValue)
        {
            notifier.OnParameterChanged.InvokeAsync(new SequenceParameterChangedEventArgs(parameterName, parameterValue));
        }
    }
}