Ejemplo n.º 1
0
 public override string ToString()
 {
     return(String.Format(CultureInfo.CurrentCulture, "{0} - User '{1}', earned on {2} expires on {3}", GratuityType.ToString(), Username, EarnedDate.ToShortDateString(), ExpirationDate.ToShortDateString()));
 }
Ejemplo n.º 2
0
 public override string ToString()
 {
     return(String.Format(CultureInfo.CurrentCulture, "{0} - {1:C} in {2} days", GratuityType.ToString(), Threshold, Window.Days));
 }