public MqAdmin(MqConfig config) { this.broker = config.broker; this.mq = config.mq; this.accessToken = config.accessToken; this.registerToken = config.registerToken; this.mode = config.mode; }
public static void Main_MqConfig(string[] args) { MqConfig config = new MqConfig(); MqConfig config2 = (MqConfig)config.Clone(); config2.accessToken = "access"; System.Console.ReadKey(); }
public Consumer(MqConfig config) : base(config) { this.topic = config.topic; }
public Caller(MqConfig config) : base(config) { }
public Producer(MqConfig config) : base(config) { }