AvalonStudio.Extensibility.Threading.JobRunner.Job.Job C# (CSharp) Method

Job() public method

Initializes a new instance of the Job class.
public Job ( System.Action action, bool throwOnUiThread ) : System
action System.Action The method to call.
throwOnUiThread bool Do not wrap excepption in TaskCompletionSource
return System
			public Job(Action action, bool throwOnUiThread)
			{
				Action = action;
				TaskCompletionSource = throwOnUiThread ? null : new TaskCompletionSource<object>();
			}
JobRunner.Job