C# Class HealthMonitoring.AcceptanceTests.Helpers.Http.MockWebEndpointExtensions

Mostrar archivo Open project: wongatech/HealthMonitoring

Public Methods

Method Description
SetupStatusPlainResponse ( this endpoint, HttpStatusCode code, string text ) : void
SetupStatusResponse ( this endpoint, HttpStatusCode code ) : void
SetupStatusResponse ( this endpoint, HttpStatusCode code, object model ) : void

Method Details

SetupStatusPlainResponse() public static method

public static SetupStatusPlainResponse ( this endpoint, HttpStatusCode code, string text ) : void
endpoint this
code HttpStatusCode
text string
return void

SetupStatusResponse() public static method

public static SetupStatusResponse ( this endpoint, HttpStatusCode code ) : void
endpoint this
code HttpStatusCode
return void

SetupStatusResponse() public static method

public static SetupStatusResponse ( this endpoint, HttpStatusCode code, object model ) : void
endpoint this
code HttpStatusCode
model object
return void