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); })); }
public List <SecurityScoreData> BindingSecurityScoreList(string type) { return(SecurityScoreDataHelper.GetSecurityScoreData(type)); }