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.
|
- using System;
- using System.Threading.Tasks;
-
- namespace MQTTnet.Core
- {
- public static class ApplicationMessagePublisherExtensions
- {
- public static Task PublishAsync(this IApplicationMessagePublisher client, params MqttApplicationMessage[] applicationMessages)
- {
- if (client == null) throw new ArgumentNullException(nameof(client));
- if (applicationMessages == null) throw new ArgumentNullException(nameof(applicationMessages));
-
- return client.PublishAsync(applicationMessages);
- }
- }
- }
|