IServiceRunner<TRequest>
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IServiceRunner<TRequest> : IServiceRunner
Methods
OnBeforeExecute(IRequest, TRequest, Object)
View Source
Declaration
void OnBeforeExecute(IRequest req, TRequest request, object service)
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
<TRequest> | request |
System.Object | service |
OnAfterExecute(IRequest, Object, Object)
View Source
Declaration
object OnAfterExecute(IRequest req, object response, object service)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
System.Object | response |
System.Object | service |
HandleExceptionAsync(IRequest, TRequest, Exception, Object)
View Source
Declaration
Task<object> HandleExceptionAsync(IRequest req, TRequest requestDto, Exception ex, object instance)
Returns
System.Threading.Tasks.Task<System.Object>
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
<TRequest> | requestDto |
System.Exception | ex |
System.Object | instance |
ExecuteAsync(IRequest, Object, TRequest)
View Source
Declaration
Task<object> ExecuteAsync(IRequest req, object instance, TRequest requestDto)
Returns
System.Threading.Tasks.Task<System.Object>
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
System.Object | instance |
<TRequest> | requestDto |
Execute(IRequest, Object, IMessage<TRequest>)
View Source
Declaration
object Execute(IRequest req, object instance, IMessage<TRequest> request)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
System.Object | instance |
ServiceStack.Messaging.IMessage<T> | request |
ExecuteOneWay(IRequest, Object, TRequest)
View Source
Declaration
object ExecuteOneWay(IRequest req, object instance, TRequest requestDto)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
System.Object | instance |
<TRequest> | requestDto |