GetReturnValue(IMethodReturn, Type) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Returns the ReturnValue after validating that null is valid for the expected type.

[EditorBrowsable(EditorBrowsableState.Never)]
public static object? GetReturnValue(this IMethodReturn return, Type expectedType)

Parameters

expectedType
Type

Returns