示例#1
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;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the ReceiptItem class.
 /// </summary>
 /// <param name="title">Title of the Card</param>
 /// <param name="subtitle">Subtitle appears just below Title field,
 /// differs from Title in font styling only</param>
 /// <param name="text">Text field appears just below subtitle, differs
 /// from Subtitle in font styling only</param>
 /// <param name="image">Image</param>
 /// <param name="price">Amount with currency</param>
 /// <param name="quantity">Number of items of given kind</param>
 /// <param name="tap">This action will be activated when user taps on
 /// the Item bubble.</param>
 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;
     CustomInit();
 }