Esempio n. 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="WorkItem" /> class.
 /// </summary>
 internal WorkItem(ThreadPool.WorkItemCallback functionDelegate, object delegateInputParameters)
 {
     Delegate = functionDelegate;
     DelegateInputParameters = delegateInputParameters;
     WorkItemStateTypeless   = new WorkItemStateTypeless(this);
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="WorkItem" /> class.
 /// </summary>
 internal WorkItem(ThreadPool.WorkItemCallback functionDelegate, object delegateInputParameters)
 {
     Delegate = functionDelegate;
     DelegateInputParameters = delegateInputParameters;
     WorkItemStateTypeless = new WorkItemStateTypeless(this);
 }