Example #1
0
File: Light.cs Project: treg/Lifx
 public async Task SetTemperatureAsync(Temperature temperature, CancellationToken cancellationToken)
 => await SetTemperatureAsync(temperature, DefaultDurationInMilliseconds, cancellationToken)
 .ConfigureAwait(false);
Example #2
0
File: Light.cs Project: treg/Lifx
 public async Task SetTemperatureAsync(Temperature temperature, uint durationInMilliseconds)
 => await SetTemperatureAsync(temperature, durationInMilliseconds, CancellationToken.None)
 .ConfigureAwait(false);
Example #3
0
File: Light.cs Project: treg/Lifx
 public async Task SetTemperatureAsync(Temperature temperature)
 => await SetTemperatureAsync(temperature, CancellationToken.None).ConfigureAwait(false);