C# Class MemBus.Subscribing.ShapeToUiDispatch

Use this shape to specify that the enclosed subscription works on the UI thread. Please note that you will have to provide a TaskScheduler that will dispatch onto a given UI thread.
Inheritance: ISubscriptionShaper, IRequireServices
Exibir arquivo Open project: flq/MemBus

Public Methods

Method Description
EnhanceSubscription ( ISubscription subscription ) : ISubscription
ShapeToUiDispatch ( ) : System

Use this constructor if the bus provides the necessary Task Scheduler for UI thread dispatching.

ShapeToUiDispatch ( TaskScheduler taskScheduler ) : System

Private Methods

Method Description
IRequireServices ( IServices svc ) : void

Method Details

EnhanceSubscription() public method

public EnhanceSubscription ( ISubscription subscription ) : ISubscription
subscription ISubscription
return ISubscription

ShapeToUiDispatch() public method

Use this constructor if the bus provides the necessary Task Scheduler for UI thread dispatching.
public ShapeToUiDispatch ( ) : System
return System

ShapeToUiDispatch() public method

public ShapeToUiDispatch ( TaskScheduler taskScheduler ) : System
taskScheduler System.Threading.Tasks.TaskScheduler
return System