Esempio n. 1
0
 /// <summary>
 /// 2X-version of Footer.
 /// </summary>
 public static PassPackageBuilder Footer2X(this PassPackageBuilder builder, Stream content)
 {
     builder.AddFile(GetFileName(GetCaller()), content);
     return(builder);
 }
Esempio n. 2
0
 /// <summary>
 /// The pass’s icon. This is displayed in notifications and in emails that have a pass attached, and on the lock screen.
 /// </summary>
 /// <remarks>
 /// When it is displayed, the icon gets a shine effect and rounded corners.
 /// </remarks>
 public static PassPackageBuilder Icon(this PassPackageBuilder builder, byte[] content)
 {
     builder.AddFile(GetFileName(GetCaller()), content);
     return(builder);
 }
Esempio n. 3
0
 /// <summary>
 /// Sets the <see cref="PassPackageBuilder.AutoDisposeOnBuild"/> property value.
 /// </summary>
 public static PassPackageBuilder AutoDisposeOnBuild(this PassPackageBuilder builder, bool value)
 {
     builder.AutoDisposeOnBuild(value);
     return(builder);
 }