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