/// <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)); }
/// <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)); }