IW4M-Admin/SharedLibraryCore/Interfaces/IMiddlewareActionHandler.cs
2019-07-27 08:18:49 -05:00

14 lines
348 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibraryCore.Interfaces
{
public interface IMiddlewareActionHandler
{
void Register<T>(T actionType, IMiddlewareAction<T> action, string name = null);
Task<T> Execute<T>(T value, string name = null);
}
}