2 using System.ComponentModel;
3 using System.Runtime.CompilerServices;
5 namespace Tizen.NUI.Binding
7 [EditorBrowsable(EditorBrowsableState.Never)]
8 internal abstract class DeviceInfo : INotifyPropertyChanged, IDisposable
10 DeviceOrientation _currentOrientation;
13 public DeviceOrientation CurrentOrientation
15 get { return _currentOrientation; }
18 if (Equals(_currentOrientation, value))
20 _currentOrientation = value;
25 public virtual double DisplayRound(double value) =>
33 public event PropertyChangedEventHandler PropertyChanged;
35 protected virtual void Dispose(bool disposing)
42 protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
43 => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));