예제 #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);