Example #1
0
 /// <summary>
 /// Initializes a new instance of the HeroCard class.
 /// </summary>
 public HeroCard(string title = default(string), string subtitle = default(string), string text = default(string), IList <CardImage> images = default(IList <CardImage>), IList <CardAction> buttons = default(IList <CardAction>), CardAction tap = default(CardAction))
 {
     Title    = title;
     Subtitle = subtitle;
     Text     = text;
     Images   = images;
     Buttons  = buttons;
     Tap      = tap;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the ReceiptItem class.
 /// </summary>
 public ReceiptItem(string title = default(string), string subtitle = default(string), string text = default(string), CardImage image = default(CardImage), string price = default(string), string quantity = default(string), CardAction tap = default(CardAction))
 {
     Title    = title;
     Subtitle = subtitle;
     Text     = text;
     Image    = image;
     Price    = price;
     Quantity = quantity;
     Tap      = tap;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the CardImage class.
 /// </summary>
 public CardImage(string url = default(string), string alt = default(string), CardAction tap = default(CardAction))
 {
     Url = url;
     Alt = alt;
     Tap = tap;
 }