Example #1
0
 public NotifyRequestInfoMiddleware(OwinMiddleware next, Services.INotifyRequestService notify)
     : base(next)
 {
     _notify = notify;
 }
Example #2
0
 public static IAppBuilder NotifyRequestInfo(this IAppBuilder app, Services.INotifyRequestService notify)
 {
     return(app.Use <NotifyRequestInfoMiddleware>(notify));
 }