Exemple #1
0
        public static OwinEmbeddedHost Create <TStartup>()
        {
            var server = new OwinEmbeddedHost();

            server.Configure <TStartup>();
            return(server);
        }
Exemple #2
0
        public static OwinEmbeddedHost Create(Action <IAppBuilder> startup)
        {
            var server = new OwinEmbeddedHost();

            server.Configure(startup);
            return(server);
        }