C# Class VLC_WINRT.Utility.Helpers.AwaitableUI.WriteableBitmapExtensions

Show file Open project: kusl/vlcwinrt

Public Methods

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

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

Method Details

WaitForLoaded() public static method

Waits for the given WriteableBitmap to be loaded (non-zero size).
public static WaitForLoaded ( 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