Class TaskHelper
Inheritance
System.Object
TaskHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.JustMock
Assembly: Telerik.JustMock.dll
Syntax
public static class TaskHelper
Methods
TaskResult<T>(IFunc<Task<T>>, T)
Declaration
[Obsolete("This method is obsolete. Use ReturnAsync instead.", false)]
public static IAssertable TaskResult<T>(this IFunc<Task<T>> expectation, T result)
Parameters
IFunc<System.Threading.Tasks.Task<T>>
expectation
|
T
result
|
Returns
IAssertable
|
Type Parameters
T
|