コード例 #1
0
        private void UserStatisticsItemUpdater_Updater(object sender, Models.UserStatisticsItemValue e)
        {
            if (_id == e.Id)
            {
                _id = e.Id;

                Header = e.Header;

                Value1 = e.Value1;
                Value2 = e.Value2;
                Value3 = e.Value3;

                VisibilityPage = e.Header == null ? Visibility.Hidden : Visibility.Visible;
            }
        }
コード例 #2
0
 internal static void Update(Models.UserStatisticsItemValue value)
 {
     Updater?.Invoke(null, value);
 }