public SaasKitOwinAdapter(OwinMiddleware next, ISaasKitEngine engine) : base(next) { if (engine == null) { throw new ArgumentNullException("engine"); } this.engine = engine; }
public SaasKitOwinAdapter(OwinMiddleware next, ISaasKitEngine engine) : base(next) { if (engine == null) { throw new ArgumentNullException("engine"); } this.engine = engine; }
public static IAppBuilder UseSaasKit(this IAppBuilder app, ISaasKitEngine engine) { if (app == null) { throw new ArgumentNullException("app"); } if (engine == null) { throw new ArgumentNullException("engine"); } return(app.Use(typeof(SaasKitOwinAdapter), engine)); }