Constructor SynchronizationContextBindingScheduler
- Namespace
- SodaFlow.Bindable.ObjectModel
- Assembly
- SodaFlow.Core.Bindable.ObjectModel.dll
SynchronizationContextBindingScheduler(SynchronizationContext)
Creates an instance that posts through the given synchronization context.
public SynchronizationContextBindingScheduler(SynchronizationContext context)
Parameters
contextSynchronizationContextThe context to post to. This is usually the UI thread.
Remarks
The SynchronizationContext must run items one at a time and not in parallel. Its Post() method must not run the SendOrPostCallback delegate directly, because that makes this scheduler re-entrant.
Exceptions
- ArgumentNullException
contextis null.