C# Class NLight.Threading.ThreadHelper

Show file Open project: slorion/nlight

Public Methods

Method Description
RunInNewThread ( System.Action action, string threadName = null, ThreadPriority priority = ThreadPriority.Normal, ApartmentState apartmentState = ApartmentState.STA, CultureInfo culture = null, CultureInfo uiCulture = null ) : Task

Method Details

RunInNewThread() public static method

public static RunInNewThread ( System.Action action, string threadName = null, ThreadPriority priority = ThreadPriority.Normal, ApartmentState apartmentState = ApartmentState.STA, CultureInfo culture = null, CultureInfo uiCulture = null ) : Task
action System.Action
threadName string
priority ThreadPriority
apartmentState ApartmentState
culture System.Globalization.CultureInfo
uiCulture System.Globalization.CultureInfo
return Task