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
Type | Name |
---|---|
ServiceStack.Mvc.ServiceStackController | controller |
ServiceStack.Web.IRequest | request |
GetRedisAsync(ServiceStackController)
View Source
Declaration
public static ValueTask<IRedisClientAsync> GetRedisAsync(this ServiceStackController controller)
Returns
ValueTask<ServiceStack.Redis.IRedisClientAsync>
Parameters
Type | Name |
---|---|
ServiceStack.Mvc.ServiceStackController | controller |
TryResolve<T>(ServiceStackController)
View Source
Declaration
public static T TryResolve<T>(this ServiceStackController controller)
Returns
<T>
Parameters
Type | Name |
---|---|
ServiceStack.Mvc.ServiceStackController | controller |
Type Parameters
T
ResolveService<T>(ServiceStackController)
View Source
Declaration
public static T ResolveService<T>(this ServiceStackController controller)
Returns
<T>
Parameters
Type | Name |
---|---|
ServiceStack.Mvc.ServiceStackController | controller |
Type Parameters
T