Partilhar via


HttpRequestMock.Setup(MockHttpMessageHandler) Método

Definição

No construtor de MockHttpRequestMiddleware, esta função será chamada para configurar um processador global.

public abstract void Setup (RichardSzalay.MockHttp.MockHttpMessageHandler handler);
abstract member Setup : RichardSzalay.MockHttp.MockHttpMessageHandler -> unit
Public MustOverride Sub Setup (handler As MockHttpMessageHandler)

Parâmetros

handler
RichardSzalay.MockHttp.MockHttpMessageHandler

O processador global.

Aplica-se a