示例#1
0
 public static CodeClassificationBuilder WithForeground(
     this CodeClassificationBuilder @this,
     Color foregroundColor)
 {
     return(@this.As <ICodeClassificationBuilder>()
            .WithForeground(foregroundColor));
 }
示例#2
0
 public static CodeClassificationBuilder ClassifiesLanguage(
     this CodeClassificationBuilder @this,
     ClassificationLanguage language)
 {
     return(@this.As <ICodeClassificationBuilder>()
            .ClassifiesLanguage(language));
 }
示例#3
0
 public static CodeClassificationBuilder IsBold(
     this CodeClassificationBuilder @this,
     bool isBold = true)
 {
     return(@this.As <ICodeClassificationBuilder>()
            .IsBold(isBold));
 }
示例#4
0
 public static CodeClassificationBuilder IsInClassificationScope(
     this CodeClassificationBuilder @this,
     ClassificationScope scope)
 {
     return(@this.As <ICodeClassificationBuilder>()
            .IsInClassificationScope(scope));
 }
示例#5
0
 public static CodeClassificationBuilder WithBackground(
     this CodeClassificationBuilder @this,
     string backgroundColorHex)
 {
     return(@this.As <ICodeClassificationBuilder>()
            .WithBackground(backgroundColorHex));
 }