daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Aug 12th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         /// <summary>
  2.         /// Initializes a new instance of the NotificationMessage class.
  3.         /// </summary>
  4.         /// <param name="notification">A string containing any arbitrary message to be
  5.         /// passed to recipient(s)</param>
  6.         public NotificationMessage(string notification)
  7.         :this(null, notification)
  8.         {
  9.         }
  10.  
  11.         /// <summary>
  12.         /// Initializes a new instance of the NotificationMessage class.
  13.         /// </summary>
  14.         /// <param name="sender">The message's sender.</param>
  15.         /// <param name="notification">A string containing any arbitrary message to be
  16.         /// passed to recipient(s)</param>
  17.         public NotificationMessage(object sender, string notification)
  18.             : this(sender, null, notification)
  19.         {
  20.         }
  21.  
  22.         /// <summary>
  23.         /// Initializes a new instance of the NotificationMessage class.
  24.         /// </summary>
  25.         /// <param name="sender">The message's sender.</param>
  26.         /// <param name="target">The message's intended target. This parameter can be used
  27.         /// to give an indication as to whom the message was intended for. Of course
  28.         /// this is only an indication, amd may be null.</param>
  29.         /// <param name="notification">A string containing any arbitrary message to be
  30.         /// passed to recipient(s)</param>
  31.         public NotificationMessage(object sender, object target, string notification)
  32.             : base(sender, target)
  33.         {
  34.             Notification = notification;
  35.         }
RAW Paste Data
Top