コード例 #1
0
 public static void StrongIf(this ITabStyleValue sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Strong();
     }
 }
コード例 #2
0
 public static void RawIf(this ITabStyleValue sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Raw();
     }
 }
コード例 #3
0
 public static void EmphasisIf(this ITabStyleValue sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Emphasis();
     }
 }
コード例 #4
0
 public static void UnderlineIf(this ITabStyleValue sectionRow, bool condition)
 {
     if (condition)
     {
         sectionRow.Underline();
     }
 }
コード例 #5
0
 public static void Sub(this ITabStyleValue sectionRow)
 {
     sectionRow.ApplyValueStyle(Formats.Sub);
 }
コード例 #6
0
 public static void Raw(this ITabStyleValue sectionRow)
 {
     sectionRow.ApplyValueStyle(Formats.Raw);
 }
コード例 #7
0
 public static void Emphasis(this ITabStyleValue sectionRow)
 {
     sectionRow.ApplyValueStyle(Formats.Emphasis);
 }
コード例 #8
0
 public static T Strong <T>(this ITabStyleValue <T> sectionRow)
 {
     return(sectionRow.ApplyValueStyle(Formats.Strong));
 }
コード例 #9
0
 public static void Strong(this ITabStyleValue sectionRow)
 {
     sectionRow.ApplyValueStyle(Formats.Strong);
 }
コード例 #10
0
 public static T UnderlineIf <T>(this ITabStyleValue <T> sectionRow, bool condition)
 {
     return(condition ? sectionRow.Underline() : (T)sectionRow);
 }
コード例 #11
0
 public static T Underline <T>(this ITabStyleValue <T> sectionRow)
 {
     return(sectionRow.ApplyValueStyle(Formats.Underline));
 }
コード例 #12
0
 public static T SubIf <T>(this ITabStyleValue <T> sectionRow, bool condition)
 {
     return(condition ? sectionRow.Sub() : (T)sectionRow);
 }
コード例 #13
0
 public static T Raw <T>(this ITabStyleValue <T> sectionRow)
 {
     return(sectionRow.ApplyValueStyle(Formats.Raw));
 }
コード例 #14
0
 public static T EmphasisIf <T>(this ITabStyleValue <T> sectionRow, bool condition)
 {
     return(condition ? sectionRow.Emphasis() : (T)sectionRow);
 }
コード例 #15
0
 public static T Emphasis <T>(this ITabStyleValue <T> sectionRow)
 {
     return(sectionRow.ApplyValueStyle(Formats.Emphasis));
 }
コード例 #16
0
 public static void Underline(this ITabStyleValue sectionRow)
 {
     sectionRow.ApplyValueStyle(Formats.Underline);
 }