示例#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);
        }