示例#1
0
 public override IObservable <string> WhenNameUpdated()
 {
     return(BluetoothObservables
            .WhenDeviceNameChanged()
            .Where(x => x.Equals(this.native))
            .Select(x => this.Name));
 }
示例#2
0
 public override IObservable <string> WhenNameUpdated() => BluetoothObservables
 .WhenDeviceNameChanged()
 .Where(x => x.Equals(this.context.NativeDevice))
 .Select(x => this.Name);