!B (Sandbox) (CE-21795) Importing models with multisubmaterials via fbx switches...
[CRYENGINE.git] / Code / Tools / LuaRemoteDebugger / Aga.Controls / Threading / WorkItem.cs
blob2a53a3f2612da7917b472e90da53f7570bbb21d1
1 // Copyright 2001-2019 Crytek GmbH / Crytek Group. All rights reserved.
3 using System;
4 using System.Collections.Generic;
5 using System.Text;
6 using System.Threading;
8 namespace Aga.Controls.Threading
10 public sealed class WorkItem
12 private WaitCallback _callback;
13 private object _state;
14 private ExecutionContext _ctx;
16 internal WorkItem(WaitCallback wc, object state, ExecutionContext ctx)
18 _callback = wc;
19 _state = state;
20 _ctx = ctx;
23 internal WaitCallback Callback
25 get
27 return _callback;
31 internal object State
33 get
35 return _state;
39 internal ExecutionContext Context
41 get
43 return _ctx;