Refactor constant references across multiple files
Updated import statements and changed references from `Domain.Constants` to `Value` in `APIEnvelopeJob.vb`, `FinalizeDocumentJob.vb`, `HistoryModel.vb`, `EmailService.vb`, and job scheduling files. This standardizes constant access and improves code maintainability and readability.
This commit is contained in:
@@ -28,8 +28,8 @@ Public Class Scheduler_Envelopetask_API
|
||||
BuildScheduler()
|
||||
Dim oJobKey = New JobKey(JobName)
|
||||
Dim oJobData = New JobDataMap() From {
|
||||
{Domain.Constants.LOGCONFIG, LogConfig},
|
||||
{Domain.Constants.DATABASE, ConnectionString}
|
||||
{Value.LOGCONFIG, LogConfig},
|
||||
{Value.DATABASE, ConnectionString}
|
||||
}
|
||||
|
||||
Logger.Debug("Initialized Job [{0}]", JobName)
|
||||
|
||||
@@ -37,9 +37,9 @@ Public Class Scheduler_FinishEnvelope
|
||||
|
||||
Dim oJobKey = New JobKey(JobName)
|
||||
Dim oJobData = New JobDataMap() From {
|
||||
{Domain.Constants.GDPICTURE, LicenseKey},
|
||||
{Domain.Constants.LOGCONFIG, LogConfig},
|
||||
{Domain.Constants.DATABASE, ConnectionString},
|
||||
{Value.GDPICTURE, LicenseKey},
|
||||
{Value.LOGCONFIG, LogConfig},
|
||||
{Value.DATABASE, ConnectionString},
|
||||
{Domain.Constants.PDF_BURNER_PARAMS, _pdfBurnerParams}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user