Пример #1
0
 /// <summary>
 /// Optional for event tickets and boarding passes; otherwise not allowed.
 /// Identifier used to group related passes. If a grouping identifier is specified, passes with the same style, pass type identifier, and grouping identifier are displayed as a group. Otherwise, passes are grouped automatically.
 /// Use this to group passes that are tightly related, such as the boarding passes for different connections of the same trip.
 /// </summary>
 public static PassBuilder.VisualAppearanceBuilder GroupingIdentifier(this PassBuilder.VisualAppearanceBuilder builder, string value)
 {
     builder.SetValue(PassBuilder.GetCaller(), value);
     return(builder);
 }
Пример #2
0
 /// <summary>
 /// Optional. Text displayed next to the logo on the pass.
 /// </summary>
 public static PassBuilder.VisualAppearanceBuilder LogoText(this PassBuilder.VisualAppearanceBuilder builder, string value)
 {
     builder.SetValue(PassBuilder.GetCaller(), value);
     return(builder);
 }
Пример #3
0
 /// <summary>
 /// Optional. Foreground color of the pass, specified as an CSS-style RGB triple.
 /// </summary>
 /// <example>Example: <code>rgb(23, 187, 82)</code>.</example>
 public static PassBuilder.VisualAppearanceBuilder ForegroundColor(this PassBuilder.VisualAppearanceBuilder builder, string value)
 {
     builder.SetValue(PassBuilder.GetCaller(), value);
     return(builder);
 }