Exemplo n.º 1
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="clientId">client ID of the client</param>
 /// <param name="user">The username/nickname of the client</param>
 /// <param name="notificationType">The type of client notification</param>
 /// <param name="message">Message (if any) for the notification</param>
 public TSNotificationViewModel(uint clientId, string user, TSNotificationType notificationType)
 {
     this.ClientID         = clientId;
     this.User             = user;
     this.NotificationType = notificationType;
     this.IsVisible        = true;
 }
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="clientId">client ID of the client</param>
 /// <param name="user">The username/nickname of the client</param>
 /// <param name="notificationType">The type of client notification</param>
 /// <param name="message">Message (if any) for the notification</param>
 public TSNotificationViewModel(uint clientId, string user, TSNotificationType notificationType)
 {
     this.ClientID = clientId;
     this.User = user;
     this.NotificationType = notificationType;
     this.IsVisible = true;
 }