justmock-docs/api/m_telerik_justmock_helpers_...

4.2 KiB

title page_title description previous_url slug published fullPath category
Arrange(T, TResult) Method (T, Expression(Func)) Arrange(T, TResult) Method (T, Expression(Func)) | JustMock Documentation Documentation page about Arrange(T, TResult) Method (T, Expression(Func)). /m_telerik_justmock_helpers_fluenthelper_arrange__2.html m_telerik_justmock_helpers_fluenthelper_arrange__2 True api/n_telerik_justmock_helpers/t_telerik_justmock_helpers_fluenthelper/methods_t_telerik_justmock_helpers_fluenthelper/overload_telerik_justmock_helpers_fluenthelper_arrange/m_telerik_justmock_helpers_fluenthelper_arrange__2 api

FluentHelper.Arrange<T,TResult>Method (T, Expression<Func>)

[Missing <summary> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Arrange2(0,System.Linq.Expressions.Expression{System.Func`2})"]

Namespace: Telerik.JustMock.Helpers
Assembly: Telerik.JustMock(in Telerik.JustMock.dll)

Syntax

C#
public static FuncExpectation<TResult> Arrange<T, TResult>(
	this T obj,
	Expression<Func> expression
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Arrange(Of T, TResult) ( _
	obj As T, _
	expression As Expression(Of Func) _
) As FuncExpectation(Of TResult)

obj

Type:T
[Missing <param name="obj"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Arrange2(0,System.Linq.Expressions.Expression{System.Func`2})"]

expression

Type: System.Linq.Expressions.Expression < Func<T, TResult> >
[Missing <param name="expression"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Arrange2(0,System.Linq.Expressions.Expression{System.Func`2})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Arrange2(0,System.Linq.Expressions.Expression{System.Func`2})"]

TResult

[Missing <typeparam name="TResult"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Arrange2(0,System.Linq.Expressions.Expression{System.Func`2})"]

[Missing <returns> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Arrange2(0,System.Linq.Expressions.Expression{System.Func`2})"] In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide) .

See Also

FluentHelper Class

FluentHelper Members

Arrange Overload

Telerik.JustMock.Helpers Namespace