C# Class Owin.ServiceStack.AppBuilderExtensions

Afficher le fichier Open project: thedillonb/Owin.ServiceStack

Méthodes publiques

Méthode Description
UseServiceStack ( this builder, IServiceStackHost host ) : IAppBuilder

Adds ServiceStack to the IAppBuilder pipeline using a specific IServiceStackHost as a host

This will automatically call IServiceStackHost.Init which will configure the IoC container and call the ServiceStackHost.Configure(Funq.Container) method

UseServiceStack ( this builder, string serviceName ) : IAppBuilder

Adds ServiceStack to the IAppBuilder pipeline using a built-in host

Method Details

UseServiceStack() public static méthode

Adds ServiceStack to the IAppBuilder pipeline using a specific IServiceStackHost as a host
This will automatically call IServiceStackHost.Init which will configure the IoC container and call the ServiceStackHost.Configure(Funq.Container) method
public static UseServiceStack ( this builder, IServiceStackHost host ) : IAppBuilder
builder this The app builder pipeline
host IServiceStackHost The host to use when servicing requests
Résultat IAppBuilder

UseServiceStack() public static méthode

Adds ServiceStack to the IAppBuilder pipeline using a built-in host
public static UseServiceStack ( this builder, string serviceName ) : IAppBuilder
builder this The app builder pipeline
serviceName string The service's name
Résultat IAppBuilder