Files
mirror-processhacker/trunk/TreeViewAdv/Threading/WorkItem.cs
T
wj32 3a5a6818ee add TreeViewAdv code
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@339 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 23:19:42 +00:00

46 lines
668 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Aga.Controls.Threading
{
public sealed class WorkItem
{
private WaitCallback _callback;
private object _state;
private ExecutionContext _ctx;
internal WorkItem(WaitCallback wc, object state, ExecutionContext ctx)
{
_callback = wc;
_state = state;
_ctx = ctx;
}
internal WaitCallback Callback
{
get
{
return _callback;
}
}
internal object State
{
get
{
return _state;
}
}
internal ExecutionContext Context
{
get
{
return _ctx;
}
}
}
}