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