示例#1
0
 /// <summary>
 /// The cancel notification factory method
 /// </summary>
 /// <param name="paddle"></param>
 /// <returns>A cancel notification</returns>
 public static Notification CancelNotification(Paddle paddle)
 {
     return(new Notification(paddle, NotificationType.Cancelled));
 }
示例#2
0
 /// <summary>
 /// The Added new paddle notification factory method.
 /// </summary>
 /// <param name="paddle"></param>
 /// <returns>A new paddle notification</returns>
 public static Notification CreateNotificatio(Paddle paddle)
 {
     return(new Notification(paddle, NotificationType.Added));
 }