Inheritance: INotifyPropertyChanged
 public void ClearAll(LoginatorViewModel loginator)
 {
     DispatcherHelper.CheckBeginInvokeOnUI(() => {
         lock (ViewModelConstants.SYNC_OBJECT) {
             Logs.Clear();
             Namespaces.Clear();
             Applications.Clear();
         }
     });
 }
 public void UpdateSearchCriteria(LoginatorViewModel loginator)
 {
     DispatcherHelper.CheckBeginInvokeOnUI(() => {
         lock (ViewModelConstants.SYNC_OBJECT) {
             searchCriteriaInternal = SearchCriteria;
             foreach (var application in Applications)
             {
                 application.UpdateSearchCriteria(searchCriteriaInternal, IsInverted);
             }
         }
     });
 }
 public void UpdateNumberOfLogsPerLevel(LoginatorViewModel loginator)
 {
     DispatcherHelper.CheckBeginInvokeOnUI(() => {
         lock (ViewModelConstants.SYNC_OBJECT) {
             numberOfLogsPerApplicationAndLevelInternal = NumberOfLogsPerLevel;
             foreach (var application in Applications)
             {
                 application.UpdateMaxNumberOfLogs(numberOfLogsPerApplicationAndLevelInternal);
             }
         }
     });
 }
 public void ClearLogs(LoginatorViewModel loginator)
 {
     DispatcherHelper.CheckBeginInvokeOnUI(() => {
         lock (ViewModelConstants.SYNC_OBJECT) {
             Logs.Clear();
             foreach (var application in Applications)
             {
                 application.ClearLogs();
             }
             foreach (var ns in Namespaces)
             {
                 ResetAllCount(ns);
             }
             ClearNamespaceHighlight();
         }
     });
 }
Esempio n. 5
0
 private bool CanOpenConfiguration(LoginatorViewModel loginator)
 {
     return true;
 }
Esempio n. 6
0
 private bool CanClearLogs(LoginatorViewModel loginator)
 {
     return true;
 }
Esempio n. 7
0
 public void UpdateSearchCriteria(LoginatorViewModel loginator)
 {
     DispatcherHelper.CheckBeginInvokeOnUI(() => {
         lock (ViewModelConstants.SYNC_OBJECT) {
             searchCriteriaInternal = SearchCriteria;
             foreach (var application in Applications) {
                 application.UpdateSearchCriteria(searchCriteriaInternal, IsInverted);
             }
         }
     });
 }
Esempio n. 8
0
 public void UpdateNumberOfLogsPerLevel(LoginatorViewModel loginator)
 {
     DispatcherHelper.CheckBeginInvokeOnUI(() => {
         lock (ViewModelConstants.SYNC_OBJECT) {
             numberOfLogsPerApplicationAndLevelInternal = NumberOfLogsPerLevel;
             foreach (var application in Applications) {
                 application.UpdateMaxNumberOfLogs(numberOfLogsPerApplicationAndLevelInternal);
             }
         }
     });
 }
Esempio n. 9
0
 public void OpenConfiguration(LoginatorViewModel loginator)
 {
     new ConfigurationWindow().Show();
 }
Esempio n. 10
0
 public void ClearLogs(LoginatorViewModel loginator)
 {
     DispatcherHelper.CheckBeginInvokeOnUI(() => {
         lock (ViewModelConstants.SYNC_OBJECT) {
             Logs.Clear();
             foreach (var application in Applications) {
                 application.ClearLogs();
             }
             foreach (var ns in Namespaces) {
                 ResetAllCount(ns);
             }
             ClearNamespaceHighlight();
         }
     });
 }
Esempio n. 11
0
 private bool CanClearAll(LoginatorViewModel loginator)
 {
     return(true);
 }
Esempio n. 12
0
 public void OpenConfiguration(LoginatorViewModel loginator)
 {
     new ConfigurationWindow().Show();
 }
Esempio n. 13
0
 private bool CanOpenConfiguration(LoginatorViewModel loginator)
 {
     return(true);
 }
Esempio n. 14
0
 private bool CanUpdateSearchCriteria(LoginatorViewModel loginator)
 {
     return(true);
 }
Esempio n. 15
0
 private bool CanUpdateNumberOfLogsPerLevel(LoginatorViewModel loginator)
 {
     return(true);
 }
Esempio n. 16
0
 private bool CanUpdateNumberOfLogsPerLevel(LoginatorViewModel loginator)
 {
     return true;
 }
Esempio n. 17
0
 private bool CanUpdateSearchCriteria(LoginatorViewModel loginator)
 {
     return true;
 }
Esempio n. 18
0
 public void ClearAll(LoginatorViewModel loginator)
 {
     DispatcherHelper.CheckBeginInvokeOnUI(() => {
         lock (ViewModelConstants.SYNC_OBJECT) {
             Logs.Clear();
             Namespaces.Clear();
             Applications.Clear();
         }
     });
 }