Beispiel #1
0
 private void UpdateSeverity()
 {
     if (_errorText != null || _unresolvableConflictCount > 0)
     {
         _severity = DashboardSeverity.Error;
     }
     else if (_resolvableConflictCount > 0)
     {
         _severity = DashboardSeverity.Info;
     }
     else
     {
         _severity = DashboardSeverity.None;
     }
 }
Beispiel #2
0
 private void UpdateSeverity()
 {
     if (_errorText != null ||
         _unresolvableConflictCount > 0)
     {
         _severity = DashboardSeverity.Error;
     }
     else if (_resolvableConflictCount > 0)
     {
         _severity = DashboardSeverity.Info;
     }
     else
     {
         _severity = DashboardSeverity.None;
     }
 }