Files
dan_clark@outlook.com 263704a772 Add drag/drop handling
2022-03-23 21:19:23 +00:00

14 lines
395 B
C#

using System.Reflection;
namespace TheXamlGuy.TaskbarGroup.Core
{
public class MessageInvoker : IMessageInvoker
{
public void Invoke<TMessage>(object target, TMessage message, MethodInfo methodInfo)
{
if (message is null) throw new ArgumentNullException(nameof(message));
methodInfo.Invoke(target, new object[] { message });
}
}
}