Skip to main content

ServiceStackControllerExt

Assembly: ServiceStack.Mvc.dll
View Source
Declaration
public static class ServiceStackControllerExt : object

Methods

ForwardRequestToServiceStack(ServiceStackController, IRequest)

View Source
Declaration
public static object ForwardRequestToServiceStack(this ServiceStackController controller, IRequest request = null)
Returns

System.Object

Parameters
TypeName
ServiceStack.Mvc.ServiceStackControllercontroller
ServiceStack.Web.IRequestrequest

GetRedisAsync(ServiceStackController)

View Source
Declaration
public static ValueTask<IRedisClientAsync> GetRedisAsync(this ServiceStackController controller)
Returns

ValueTask<ServiceStack.Redis.IRedisClientAsync>

Parameters
TypeName
ServiceStack.Mvc.ServiceStackControllercontroller

TryResolve<T>(ServiceStackController)

View Source
Declaration
public static T TryResolve<T>(this ServiceStackController controller)
Returns

<T>

Parameters
TypeName
ServiceStack.Mvc.ServiceStackControllercontroller
Type Parameters
  • T

ResolveService<T>(ServiceStackController)

View Source
Declaration
public static T ResolveService<T>(this ServiceStackController controller)
Returns

<T>

Parameters
TypeName
ServiceStack.Mvc.ServiceStackControllercontroller
Type Parameters
  • T