TestWebExtensions..::..GetObjectResultContent<(Of <(<'T>)>)> Method

Gets the content of the object result.

Namespace:  FastMoq.Web.Extensions
Assembly:  FastMoq.Web (in FastMoq.Web.dll)

Syntax


public static T GetObjectResultContent<T>(
	this ActionResult<T> result
)
<ExtensionAttribute> _
Public Shared Function GetObjectResultContent(Of T) ( _
	result As ActionResult(Of T) _
) As T
[ExtensionAttribute]
public:
generic<typename T>
static T GetObjectResultContent(
	ActionResult<T>^ result
)

Type Parameters

T

Parameters

result
Type: ActionResult<(Of <(<'T>)>)>
The result.

Return Value

T.