C# Class Codebreak.Framework.Generic.TaskSchedulerExtensions

显示文件 Open project: hussein-aitlahcen/codebreak

Public Methods

Method Description
ToSynchronizationContext ( this scheduler ) : SynchronizationContext

Gets a SynchronizationContext that targets this TaskScheduler.

Method Details

ToSynchronizationContext() public static method

Gets a SynchronizationContext that targets this TaskScheduler.
public static ToSynchronizationContext ( this scheduler ) : SynchronizationContext
scheduler this The target scheduler.
return System.Threading.SynchronizationContext