init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Media;
|
||||
namespace DTS.Common.Converters
|
||||
{
|
||||
public class BooleanToGreenBorderConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
return value != null && (bool)value ? BrushesAndColors.BrushApplicationStatusPowerGreen : Brushes.Transparent;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Interface.TestDefinition;
|
||||
using Prism.Events;
|
||||
// ReSharper disable ClassNeverInstantiated.Global
|
||||
// ReSharper disable CheckNamespace
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// The selected Test Summary list changed event.
|
||||
/// </summary>
|
||||
public class TestSummaryChangeNotification : PubSubEvent<TestSummaryChangeNotificationArg> { }
|
||||
|
||||
public class TestSummaryChangeNotificationArg
|
||||
{
|
||||
public List<ITestSummary> SummaryList { get; set; }
|
||||
/// <summary>
|
||||
/// 24417 start pulling apart viewer to allow reuse for PSD reports
|
||||
/// </summary>
|
||||
public IBaseViewModel ParentVM { get; set; }
|
||||
public int TotalSummaryCount { get; set; }
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user