示例#1
0
        public void RefreshStats()
        {
            //vedo - async
            Application.Current.Dispatcher.BeginInvoke((Action)(() =>
            {
                SecurityScoreDataCount();

                var scLog = inAppAnalyitics.Get <Events.AnalyticsLog, AnalyticsItem>();

                var item = new AnalyticsItem(Convert.ToInt32(_securityScoreDecimal), DuplicatePasswordCounter, WeakPasswordCounter, OldPasswordCounter, SecurityScoreDataHelper.GetSecurityScoreData(SecurityScoreItemType.all).Count());

                scLog.Log(item);
            }));
        }
示例#2
0
 public List <SecurityScoreData> BindingSecurityScoreList(string type)
 {
     return(SecurityScoreDataHelper.GetSecurityScoreData(type));
 }