Пример #1
0
Файл: Light.cs Проект: treg/Lifx
 public async Task SetTemperatureAsync(Temperature temperature, CancellationToken cancellationToken)
 => await SetTemperatureAsync(temperature, DefaultDurationInMilliseconds, cancellationToken)
 .ConfigureAwait(false);
Пример #2
0
Файл: Light.cs Проект: treg/Lifx
 public async Task SetTemperatureAsync(Temperature temperature, uint durationInMilliseconds)
 => await SetTemperatureAsync(temperature, durationInMilliseconds, CancellationToken.None)
 .ConfigureAwait(false);
Пример #3
0
Файл: Light.cs Проект: treg/Lifx
 public async Task SetTemperatureAsync(Temperature temperature)
 => await SetTemperatureAsync(temperature, CancellationToken.None).ConfigureAwait(false);