public QueryNotificationAttribute(NotificationType type) { NotificationType = type; Name = type.GetQueryString(); }