New to Telerik JustMockStart a free 30-day trial

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

Definition

Namespace:Telerik.JustMock

Assembly:Telerik.JustMock.dll

Syntax:

C#
public static class LocalRef

Inheritance: objectLocalRef

Methods

Creates ref return handle with given type and value

C#
public static LocalRefHandle<T> WithValue<T>(T value)
Parameters:valueT

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