Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

MqttApplicationMessageReceivedEventArgs.cs 520 B

pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
1234567891011121314151617
  1. using System;
  2. namespace MQTTnet
  3. {
  4. public sealed class MqttApplicationMessageReceivedEventArgs : EventArgs
  5. {
  6. public MqttApplicationMessageReceivedEventArgs(string clientId, MqttApplicationMessage applicationMessage)
  7. {
  8. ClientId = clientId;
  9. ApplicationMessage = applicationMessage ?? throw new ArgumentNullException(nameof(applicationMessage));
  10. }
  11. public string ClientId { get; }
  12. public MqttApplicationMessage ApplicationMessage { get; }
  13. }
  14. }