C# Class WinRTXamlToolkit.AwaitableUI.WriteableBitmapExtensions

Extension methods for awaiting WriteableBitmap events.
Show file Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
WaitForLoadedAsync ( this wb, int timeoutInMs ) : System.Threading.Tasks.Task

Waits for the given WriteableBitmap to be loaded (non-zero size).

Method Details

WaitForLoadedAsync() public static method

Waits for the given WriteableBitmap to be loaded (non-zero size).
public static WaitForLoadedAsync ( this wb, int timeoutInMs ) : System.Threading.Tasks.Task
wb this The WriteableBitmap to wait for.
timeoutInMs int The timeout in ms after which the wait will be cancelled. Use 0 to wait without a timeout.
return System.Threading.Tasks.Task