示例#1
0
 public static void MsIf(this ITabStyleRow sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Ms();
     }
 }
示例#2
0
 public static void StyleIf(this ITabStyleRow sectionRow, string style, bool condition)
 {
     if (condition)
     {
         sectionRow.Style(style);
     }
 }
示例#3
0
 public static void Style(this ITabStyleRow sectionRow, string style)
 {
     if (!string.IsNullOrEmpty(style))
     {
         sectionRow.ApplyRowStyle(style);
     }
 }
示例#4
0
 public static void LoadingIf(this ITabStyleRow sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Loading();
     }
 }
示例#5
0
 public static void WarnIf(this ITabStyleRow sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Warn();
     }
 }
示例#6
0
 public static void SelectedIf(this ITabStyleRow sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Selected();
     }
 }
示例#7
0
 public static void QuietIf(this ITabStyleRow sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Quiet();
     }
 }
示例#8
0
 public static void ErrorIf(this ITabStyleRow sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Error();
     }
 }
示例#9
0
 public static void InfoIf(this ITabStyleRow sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Info();
     }
 }
示例#10
0
 public static void FailIf(this ITabStyleRow sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Fail();
     }
 }
示例#11
0
 public static void Error(this ITabStyleRow sectionRow)
 {
     sectionRow.ApplyRowStyle(FormattingKeywords.Error);
 }
示例#12
0
 public static void Warn(this ITabStyleRow sectionRow)
 {
     sectionRow.ApplyRowStyle(FormattingKeywords.Warn);
 }
示例#13
0
 public static void Selected(this ITabStyleRow sectionRow)
 {
     sectionRow.ApplyRowStyle(FormattingKeywords.Selected);
 }
示例#14
0
 public static void Quiet(this ITabStyleRow sectionRow)
 {
     sectionRow.ApplyRowStyle(FormattingKeywords.Quiet);
 }
示例#15
0
 public static void Loading(this ITabStyleRow sectionRow)
 {
     sectionRow.ApplyRowStyle(FormattingKeywords.Loading);
 }
示例#16
0
 public static void Info(this ITabStyleRow sectionRow)
 {
     sectionRow.ApplyRowStyle(FormattingKeywords.Info);
 }
示例#17
0
 public static void Fail(this ITabStyleRow sectionRow)
 {
     sectionRow.ApplyRowStyle(FormattingKeywords.Fail);
 }