Beispiel #1
0
 /// <summary>
 /// 构造函数,使用依赖注入,传递自定义的jobOption到Client 父类
 /// </summary>
 /// <param name="jobOption"></param>
 public JobRabbitClient1(JobOption1 jobOption) : base(jobOption)
 {
 }
 public JobDefinition1(JobOption1 jobOption, ILogger <TestConfigController> logger, JobRabbitClient1 jobRabbitClient)
 {
     _jobOption       = jobOption;
     _logger          = logger;
     _jobRabbitClient = jobRabbitClient;
 }