public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var inspection = value as IInspection;
            if (inspection == null)
            {
                return null;
            }

            var converter = new InspectionSeverityImageSourceConverter();
            return converter.Convert(inspection.Severity, targetType, parameter, culture);
        }
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var inspection = value as IInspection;

            if (inspection == null)
            {
                return(null);
            }

            var converter = new InspectionSeverityImageSourceConverter();

            return(converter.Convert(inspection.Severity, targetType, parameter, culture));
        }