25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MqttClientConnectedEventArgs.cs 548 B

1234567891011121314151617
  1. using System;
  2. namespace MQTTnet.Core.Adapter
  3. {
  4. public class MqttClientConnectedEventArgs : EventArgs
  5. {
  6. public MqttClientConnectedEventArgs(string identifier, IMqttCommunicationAdapter clientAdapter)
  7. {
  8. Identifier = identifier ?? throw new ArgumentNullException(nameof(identifier));
  9. ClientAdapter = clientAdapter ?? throw new ArgumentNullException(nameof(clientAdapter));
  10. }
  11. public string Identifier { get; }
  12. public IMqttCommunicationAdapter ClientAdapter { get; }
  13. }
  14. }