예제 #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);
 }