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

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

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