C# Class Microsoft.HockeyApp.TestFramework.TaskExtensions

Mostra file Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
AsAsyncResult ( this task, AsyncCallback callback, object state ) : IAsyncResult

A helper method for mocking APM (classic) asynchronous methods with on TAP (modern) asynchronous methods.

This is based on and .

Method Details

AsAsyncResult() public static method

A helper method for mocking APM (classic) asynchronous methods with on TAP (modern) asynchronous methods.
This is based on and .
public static AsAsyncResult ( this task, AsyncCallback callback, object state ) : IAsyncResult
task this
callback AsyncCallback
state object
return IAsyncResult