C# Class WinRTXamlToolkit.AwaitableUI.BitmapImageExtensions

Extension methods for awaiting BitmapImage state changes.
显示文件 Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
WaitForLoadedAsync ( this bitmapImage, int timeoutInMs ) : Task

Waits for the BitmapImage to load.

Method Details

WaitForLoadedAsync() public static method

Waits for the BitmapImage to load.
public static WaitForLoadedAsync ( this bitmapImage, int timeoutInMs ) : Task
bitmapImage this The bitmap image.
timeoutInMs int The timeout in ms.
return Task