blob: 55728f799732ae076dc4ea2f3444c1822b28a12f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
namespace Tango.Integration.Operation
{
public class ResumingJobEventArgs : EventArgs
{
private Func<JobHandler> _approveAction;
public String JobGuid { get; set; }
public ResumingJobEventArgs(Func<JobHandler> approveAction)
{
_approveAction = approveAction;
}
public JobHandler Approve()
{
return _approveAction();
}
}
}
|