예제 #1
0
 /// <summary>
 /// 注入配置和日志
 /// </summary>
 /// <param name="Config"></param>
 /// <param name="log"></param>
 public RabbitMQClientHandler(MQTTConfig Config, ILogWrite log)
 {
     this.mConfig = Config;
     this._log    = log;
 }
예제 #2
0
 /// <summary>
 /// 只注入配置
 /// </summary>
 /// <param name="Config"></param>
 public RabbitMQClientHandler(MQTTConfig Config)
 {
     this.mConfig = Config;
 }