C# Class ScriptCs.ServiceStack.ServiceStackPack

Inheritance: IScriptPackContext
Mostra file Open project: scriptcs-contrib/scriptcs-servicestack

Public Methods

Method Description
CreateHost ( string serviceName = DefaultServiceName, Assembly serviceAssembly = null, Action configurationBuilder = null ) : AppHostHttpListenerBase
StartHost ( string urlBase, string serviceName = DefaultServiceName, Assembly serviceAssembly = null, Action configurationBuilder = null ) : void

Method Details

CreateHost() public method

public CreateHost ( string serviceName = DefaultServiceName, Assembly serviceAssembly = null, Action configurationBuilder = null ) : AppHostHttpListenerBase
serviceName string
serviceAssembly System.Reflection.Assembly
configurationBuilder Action
return ServiceStack.WebHost.Endpoints.AppHostHttpListenerBase

StartHost() public method

public StartHost ( string urlBase, string serviceName = DefaultServiceName, Assembly serviceAssembly = null, Action configurationBuilder = null ) : void
urlBase string
serviceName string
serviceAssembly System.Reflection.Assembly
configurationBuilder Action
return void