using Arrowgene.Services.Logging; namespace Mhf.Server.Common.Middleware { public abstract class Middleware : IMiddleware { protected Middleware() { Logger = LogProvider.Logger(this); } protected ILogger Logger { get; } public abstract void Handle(T client, TReq message, TRes response, MiddlewareDelegate next); } }