C# Class Orc.NuGetExplorer.DispatchHelper

Show file Open project: WildGums/Orc.NuGetExplorer Class Usage Examples

Public Methods

Method Description
DispatchIfNecessaryAsync ( System.Action action ) : System.Threading.Tasks.Task

Private Methods

Method Description
InvokeAsync ( this dispatcher, System.Action action ) : System.Threading.Tasks.Task

Executes the specified delegate asynchronously with the specified arguments on the thread that the Dispatcher was created on.

Method Details

DispatchIfNecessaryAsync() public static method

public static DispatchIfNecessaryAsync ( System.Action action ) : System.Threading.Tasks.Task
action System.Action
return System.Threading.Tasks.Task