コード例 #1
0
 public ReproduceWorkerJob(int agentId, IAgentHelper agentHelper, IQuery queryHelper, IArtifactQueries artifactQueries, IEnumerable <int> resourceGroupIds, IErrorQueries errorQueries)
 {
     AgentId               = agentId;
     AgentHelper           = agentHelper;
     QueryHelper           = queryHelper;
     _artifactQueries      = artifactQueries;
     AgentResourceGroupIds = resourceGroupIds;
     ErrorQueries          = errorQueries;
     QueueTable            = Constant.Tables.ReproduceWorkerQueue;
     _auditRecordHelper    = new AuditRecordHelper(QueryHelper);
 }
コード例 #2
0
 public ReproduceManagerJob(int agentId, IAgentHelper agentHelper, IQuery queryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IArtifactQueries artifactQueries, Helpers.Utility.IQuery utilityQueryHelper, IErrorQueries errorQueries)
 {
     RecordId              = 0;
     WorkspaceArtifactId   = -1;
     AgentId               = agentId;
     AgentHelper           = agentHelper;
     QueryHelper           = queryHelper;
     ProcessedOnDateTime   = processedOnDateTime;
     QueueTable            = Constant.Tables.ReproduceManagerQueue;
     AgentResourceGroupIds = resourceGroupIds;
     _artifactQueries      = artifactQueries;
     _utilityQueryHelper   = utilityQueryHelper;
     ErrorQueries          = errorQueries;
 }
コード例 #3
0
 public ExportWorkerJob(int agentId, IServicesMgr serviceMgr, IAgentHelper agentHelper, IQuery queryHelper, IArtifactQueries artifactQueries, Helpers.Utility.IQuery utilityQueryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IExportFileCreator exportFileCreator, IErrorQueries errorQueries)
 {
     AgentId               = agentId;
     _serviceMgr           = serviceMgr;
     AgentHelper           = agentHelper;
     QueryHelper           = queryHelper;
     _artifactQueries      = artifactQueries;
     _utilityQueryHelper   = utilityQueryHelper;
     ProcessedOnDateTime   = processedOnDateTime;
     AgentResourceGroupIds = resourceGroupIds;
     _exportFileCreator    = exportFileCreator;
     ErrorQueries          = errorQueries;
     RecordId              = 0;
     WorkspaceArtifactId   = -1;
     QueueTable            = Constant.Tables.ExportWorkerQueue;
 }
コード例 #4
0
 public ExportManagerJob(int agentId, IServicesMgr serviceMgr, IAgentHelper agentHelper, IQuery queryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IArtifactQueries artifactQueries, Helpers.Utility.IQuery utilityQueryHelper, IErrorQueries errorQueries, IMarkupTypeHelper markupTypeHelper)
 {
     RecordId              = 0;
     WorkspaceArtifactId   = -1;
     AgentId               = agentId;
     AgentHelper           = agentHelper;
     QueryHelper           = queryHelper;
     ProcessedOnDateTime   = processedOnDateTime;
     QueueTable            = Constant.Tables.ExportManagerQueue;
     AgentResourceGroupIds = resourceGroupIds;
     _serviceMgr           = serviceMgr;
     _artifactQueries      = artifactQueries;
     _utilityQueryHelper   = utilityQueryHelper;
     _markupTypeHelper     = markupTypeHelper;
     ErrorQueries          = errorQueries;
 }
コード例 #5
0
 public ImportManagerJob(int agentId, IAgentHelper agentHelper, IQuery queryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IArtifactQueries artifactQueries, IImportFileParser importFileParser, IWorkspaceQueries workspaceQueryHelper, IErrorQueries errorQueries, IMarkupTypeHelper markupTypeHelper)
 {
     RecordId              = 0;
     WorkspaceArtifactId   = -1;
     AgentId               = agentId;
     AgentHelper           = agentHelper;
     QueryHelper           = queryHelper;
     ProcessedOnDateTime   = processedOnDateTime;
     QueueTable            = Constant.Tables.ImportManagerQueue;
     AgentResourceGroupIds = resourceGroupIds;
     ArtifactQueries       = artifactQueries;
     ImportFileParser      = importFileParser;
     WorkspaceQueryHelper  = workspaceQueryHelper;
     ErrorQueries          = errorQueries;
     MarkupTypeHelper      = markupTypeHelper;
 }
コード例 #6
0
 public ImportWorkerJob(int agentId, IAgentHelper agentHelper, IQuery queryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IErrorQueries errorQueries, IArtifactQueries artifactQueries, IAuditRecordHelper auditRecordHelper, IMarkupTypeHelper markupTypeHelper)
 {
     RecordId                = 0;
     WorkspaceArtifactId     = -1;
     AgentId                 = agentId;
     AgentHelper             = agentHelper;
     QueryHelper             = queryHelper;
     QueueTable              = Constant.Tables.ImportWorkerQueue;
     ProcessedOnDateTime     = processedOnDateTime;
     AgentResourceGroupIds   = resourceGroupIds;
     ErrorQueries            = errorQueries;
     ArtifactQueries         = artifactQueries;
     _importedRedactionCount = 0;
     _skippedRedactionCount  = 0;
     _errorRedactionCount    = 0;
     AuditRecordHelper       = auditRecordHelper;
     MarkupTypeHelper        = markupTypeHelper;
     _executionIdentity      = ExecutionIdentity.CurrentUser;
 }