public static string FormatFailedFeatureTitle(WebTitleElements info) { const string failIcon = "accordion-icon-fail"; const string failIconStyle = "fa-times-circle-o"; return(FormatFeatureTitle(info, failIcon, failIconStyle)); }
public static string FormatInconclusiveFeatureTitle(WebTitleElements info) { const string undefinedIcon = "accordion-icon-undefinded"; const string undefinedStyle = "fa-question-circle-o"; return(FormatFeatureTitle(info, undefinedIcon, undefinedStyle)); }
public static string FormatPassedFeatureTitle(WebTitleElements info) { const string passIcon = "accordion-icon-pass"; const string passIconStyle = "fa-check-circle-o"; return(FormatFeatureTitle(info, passIcon, passIconStyle)); }
private static string FormatFeatureTitle(WebTitleElements info, string icon, string iconStyle) { return(string.Format(messages.HtmlTitleTemplate, icon, iconStyle, info.score, info.title, info.rawScore, info.weighting)); }