Click or drag to resize
RequestReceivedEventArgsHelperCreate Method
Creates a RequestReceivedEventArgs, attaches the mock request and response objects passed across and sets a few key properties.

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static RequestReceivedEventArgs Create(
	Mock<IRequest> request,
	Mock<IResponse> response,
	string pathAndFile,
	bool internetClient = false
)

Parameters

request
Type: MockIRequest
response
Type: MockIResponse
pathAndFile
Type: SystemString
internetClient (Optional)
Type: SystemBoolean

Return Value

Type: RequestReceivedEventArgs
See Also