示例#1
0
 public HostPerceiver(IRouteFactory route, IPortArranger ports, IEnumerable<HostType> defaultHosts, ITemporaryDirectoryProvider dirProvider)
 {
     _route = route;
     _ports = ports;
     _defaultHosts = defaultHosts;
     _dirProvider = dirProvider;
 }
示例#2
0
 public HostPerceiver(IRouteFactory route, IPortArranger ports, IEnumerable <HostType> defaultHosts, ITemporaryDirectoryProvider dirProvider)
 {
     _route        = route;
     _ports        = ports;
     _defaultHosts = defaultHosts;
     _dirProvider  = dirProvider;
 }
示例#3
0
 public WebBaseHostElement(TestTypeDescriptor typeDescriptor, IRouteFactory routeFactory, ITemporaryDirectoryProvider dirProvider)
     : base(typeDescriptor, routeFactory)
 {
     _dirProvider = dirProvider;
     // By default, use global.asax to register web api
     EnableDefaultOwinWebApiConfiguration = false;
     EnableGlobalAsax = true;
 }
 public WebBaseHostElement(TestTypeDescriptor typeDescriptor, IRouteFactory routeFactory, ITemporaryDirectoryProvider dirProvider)
     : base(typeDescriptor, routeFactory)
 {
     _dirProvider = dirProvider;
     // By default, use global.asax to register web api
     EnableDefaultOwinWebApiConfiguration = false;
     EnableGlobalAsax = true;
 }
示例#5
0
 public IISHostElement(TestTypeDescriptor typeDescriptor, IRouteFactory routeFactory, ITemporaryDirectoryProvider dirProvider)
     : base(typeDescriptor, routeFactory, dirProvider)
 {
     this.Name = "IIS";
 }
示例#6
0
 public AzureWebsiteHostElement(TestTypeDescriptor typeDescriptor, IRouteFactory routeFactory, ITemporaryDirectoryProvider dirProvider)
     : base(typeDescriptor, routeFactory, dirProvider)
 {
     this.Name = "Azure Web Site";
 }
 public IISExpressHostElement(TestTypeDescriptor typeDescriptor, IRouteFactory routeFactory, ITemporaryDirectoryProvider dirProvider)
     : base(typeDescriptor, routeFactory, dirProvider)
 {
     this.Name = "IIS Express";
 }
 public AzureWebsiteHostElement(TestTypeDescriptor typeDescriptor, IRouteFactory routeFactory, ITemporaryDirectoryProvider dirProvider)
     : base(typeDescriptor, routeFactory, dirProvider)
 {
     this.Name = "Azure Web Site";
 }