Class
LocalRef

Creates handles used for mocking ref returns, used with conjunction with Returns(Delegate)

Definition

Namespace:Telerik.JustMock

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public static class LocalRef

Inheritance: objectLocalRef

Methods

WithValue<T>(T)

Creates ref return handle with given type and value

Declaration

cs-api-definition
public static LocalRefHandle<T> WithValue<T>(T value)

Parameters

value

T

Initial value

Returns

LocalRefHandle<T>

Ref return handle of type LocalRefHandle<T>

In this article
DefinitionMethodsWithValue<T>(T)
Not finding the help you need?
Contact Support