Telerik® JustMock™ by Progress

[Missing <summary> documentation for "M:Telerik.JustMock.TaskHelper.TaskResult``1(Telerik.JustMock.Expectations.Abstraction.IFunc{System.Threading.Tasks.Task`1},System.Void)"]

Namespace: Telerik.JustMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public static IAssertable TaskResult<T>(
	this IFunc<Task> expectation,
	void result
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function TaskResult(Of T) ( _
	expectation As IFunc(Of Task), _
	result As Void _
) As IAssertable

Parameters

expectation
Type: IFunc<(Of <(<'Task<(Of <(<'TResult>)>)>>)>)>

[Missing <param name="expectation"/> documentation for "M:Telerik.JustMock.TaskHelper.TaskResult``1(Telerik.JustMock.Expectations.Abstraction.IFunc{System.Threading.Tasks.Task`1},System.Void)"]

result
Type: System..::..Void

[Missing <param name="result"/> documentation for "M:Telerik.JustMock.TaskHelper.TaskResult``1(Telerik.JustMock.Expectations.Abstraction.IFunc{System.Threading.Tasks.Task`1},System.Void)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Telerik.JustMock.TaskHelper.TaskResult``1(Telerik.JustMock.Expectations.Abstraction.IFunc{System.Threading.Tasks.Task`1},System.Void)"]

Return Value

[Missing <returns> documentation for "M:Telerik.JustMock.TaskHelper.TaskResult``1(Telerik.JustMock.Expectations.Abstraction.IFunc{System.Threading.Tasks.Task`1},System.Void)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IFunc<(Of <(<'Task<(Of <(<'TResult>)>)>>)>)>. 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