public static void MsIf(this ITabStyleRow sectionRow, bool condition) { if (condition) { sectionRow.Ms(); } }
public static void StyleIf(this ITabStyleRow sectionRow, string style, bool condition) { if (condition) { sectionRow.Style(style); } }
public static void Style(this ITabStyleRow sectionRow, string style) { if (!string.IsNullOrEmpty(style)) { sectionRow.ApplyRowStyle(style); } }
public static void LoadingIf(this ITabStyleRow sectionRow, bool condition) { if (condition) { sectionRow.Loading(); } }
public static void WarnIf(this ITabStyleRow sectionRow, bool condition) { if (condition) { sectionRow.Warn(); } }
public static void SelectedIf(this ITabStyleRow sectionRow, bool condition) { if (condition) { sectionRow.Selected(); } }
public static void QuietIf(this ITabStyleRow sectionRow, bool condition) { if (condition) { sectionRow.Quiet(); } }
public static void ErrorIf(this ITabStyleRow sectionRow, bool condition) { if (condition) { sectionRow.Error(); } }
public static void InfoIf(this ITabStyleRow sectionRow, bool condition) { if (condition) { sectionRow.Info(); } }
public static void FailIf(this ITabStyleRow sectionRow, bool condition) { if (condition) { sectionRow.Fail(); } }
public static void Error(this ITabStyleRow sectionRow) { sectionRow.ApplyRowStyle(FormattingKeywords.Error); }
public static void Warn(this ITabStyleRow sectionRow) { sectionRow.ApplyRowStyle(FormattingKeywords.Warn); }
public static void Selected(this ITabStyleRow sectionRow) { sectionRow.ApplyRowStyle(FormattingKeywords.Selected); }
public static void Quiet(this ITabStyleRow sectionRow) { sectionRow.ApplyRowStyle(FormattingKeywords.Quiet); }
public static void Loading(this ITabStyleRow sectionRow) { sectionRow.ApplyRowStyle(FormattingKeywords.Loading); }
public static void Info(this ITabStyleRow sectionRow) { sectionRow.ApplyRowStyle(FormattingKeywords.Info); }
public static void Fail(this ITabStyleRow sectionRow) { sectionRow.ApplyRowStyle(FormattingKeywords.Fail); }