Skip to main content

MockRestGateway

Assembly: ServiceStack.dll
View Source
Declaration
public class MockRestGateway : IRestGateway

Properties

ResultsFilter

View Source
Declaration
public RestGatewayDelegate ResultsFilter { get; set; }

Methods

Send<T>(IReturn<T>)

View Source
Declaration
public T Send<T>(IReturn<T> request)
Returns

<T>

Parameters
TypeName
ServiceStack.IReturn<T>request
Type Parameters
  • T

Get<T>(IReturn<T>)

View Source
Declaration
public T Get<T>(IReturn<T> request)
Returns

<T>

Parameters
TypeName
ServiceStack.IReturn<T>request
Type Parameters
  • T

Post<T>(IReturn<T>)

View Source
Declaration
public T Post<T>(IReturn<T> request)
Returns

<T>

Parameters
TypeName
ServiceStack.IReturn<T>request
Type Parameters
  • T

Put<T>(IReturn<T>)

View Source
Declaration
public T Put<T>(IReturn<T> request)
Returns

<T>

Parameters
TypeName
ServiceStack.IReturn<T>request
Type Parameters
  • T

Delete<T>(IReturn<T>)

View Source
Declaration
public T Delete<T>(IReturn<T> request)
Returns

<T>

Parameters
TypeName
ServiceStack.IReturn<T>request
Type Parameters
  • T

Implements