// -----------------------------------------------------------------------
//
// Copyright 2014 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Threading
{
///
/// Defines the priorities with which jobs can be invoked on a .
///
// TODO: These are copied from WPF - many won't apply to Perspex.
public enum DispatcherPriority
{
///
/// The job will not be processed.
///
Inactive = 0,
///
/// The job will be processed when the system is idle.
///
SystemIdle = 1,
///
/// The job will be processed when the application sis idle.
///
ApplicationIdle = 2,
///
/// The job will be processed after background operations have completed.
///
ContextIdle = 3,
///
/// The job will be processed after other non-idle operations have completed.
///
Background = 4,
///
/// The job will be processed with the same priority as input.
///
Input = 5,
///
/// The job will be processed after layout and render but before input.
///
Loaded = 6,
///
/// The job will be processed with the same priority as render.
///
Render = 7,
///
/// The job will be processed with the same priority as data binding.
///
DataBind = 8,
///
/// The job will be processed with normal priority.
///
Normal = 9,
///
/// The job will be processed before other asynchronous operations.
///
Send = 10,
}
}