示例#1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='deviceSensorEntity'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ApiDeviceSensorByIdPutAsync(this IHomeAutomationAPI operations, int id, DeviceSensorEntity deviceSensorEntity = default(DeviceSensorEntity), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ApiDeviceSensorByIdPutWithHttpMessagesAsync(id, deviceSensorEntity, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }