Ejemplo n.º 1
0
 private static void AssertJobParameter(Job newJob)
 {
     GeresAssertionHelper.AssertNull(newJob, "newJob");
     GeresAssertionHelper.AssertNullOrEmpty(newJob.JobName, "newJob.JobName");
     GeresAssertionHelper.AssertNull(newJob.Parameters, "newJob.Parameters");
     GeresAssertionHelper.AssertNullOrEmptyOrWhitespace(newJob.JobType, "newJob.JobType");
     GeresAssertionHelper.AssertNullOrEmptyOrWhitespace(newJob.JobProcessorPackageName, "newJob.JobProcessorPackageName");
     GeresAssertionHelper.AssertNullOrEmptyOrWhitespace(newJob.TenantName, "newJob.TenantName");
     GeresAssertionHelper.AssertLength(newJob.TenantName, "newJob.TenantName", 1, 15);
 }