Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- /// Initializes a new instance of the NotificationMessage class.
- /// </summary>
- /// <param name="notification">A string containing any arbitrary message to be
- /// passed to recipient(s)</param>
- public NotificationMessage(string notification)
- :this(null, notification)
- {
- }
- /// <summary>
- /// Initializes a new instance of the NotificationMessage class.
- /// </summary>
- /// <param name="sender">The message's sender.</param>
- /// <param name="notification">A string containing any arbitrary message to be
- /// passed to recipient(s)</param>
- public NotificationMessage(object sender, string notification)
- : this(sender, null, notification)
- {
- }
- /// <summary>
- /// Initializes a new instance of the NotificationMessage class.
- /// </summary>
- /// <param name="sender">The message's sender.</param>
- /// <param name="target">The message's intended target. This parameter can be used
- /// to give an indication as to whom the message was intended for. Of course
- /// this is only an indication, amd may be null.</param>
- /// <param name="notification">A string containing any arbitrary message to be
- /// passed to recipient(s)</param>
- public NotificationMessage(object sender, object target, string notification)
- : base(sender, target)
- {
- Notification = notification;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement