Esempio n. 1
0
        private void OnBadgeChanged(object newValue, object oldValue)
        {
            if (_peer != null)
            {
                var newText = newValue?.ToString() ?? string.Empty;
                var oldText = oldValue?.ToString() ?? string.Empty;

                _peer.RaisePropertyChangedEvent(ValuePatternIdentifiers.ValueProperty, oldText, newText);
            }
        }
Esempio n. 2
0
 private void OnBadgeChanged(object newValue, object oldValue)
 {
     if (_peer != null)
     {
         _peer.RaisePropertyChangedEvent(
             ValuePatternIdentifiers.ValueProperty,
             oldValue?.ToString(),
             newValue?.ToString());
     }
 }