Exemplo 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);
            }
        }
Exemplo n.º 2
0
 private void OnBadgeChanged(object newValue, object oldValue)
 {
     if (_peer != null)
     {
         _peer.RaisePropertyChangedEvent(
             ValuePatternIdentifiers.ValueProperty,
             oldValue?.ToString(),
             newValue?.ToString());
     }
 }