private static string CreateCell(DeviceCoverageAmount value, string label) { string css = "unknown"; if (value == DeviceCoverageAmount.No) { css = "no"; } else if (value == DeviceCoverageAmount.Yes) { css = "yes"; } else if (value == DeviceCoverageAmount.Partial) { css = "partial"; } return("<td class=\"" + css + "\">" + label + "</td>"); }
private static string CreateCell(DeviceCoverageAmount value, string label) { string css = "unknown"; if (value == DeviceCoverageAmount.No) css = "no"; else if (value == DeviceCoverageAmount.Yes) css = "yes"; else if (value == DeviceCoverageAmount.Partial) css = "partial"; return "<td class=\"" + css + "\">" + label + "</td>"; }