public NotificationSetting ( int userId, NotificationType notificationType, NotificationSettingValue value ) : Journalist | ||
userId | int | |
notificationType | NotificationType | |
value | NotificationSettingValue | |
return | Journalist |
public NotificationSetting(int userId, NotificationType notificationType, NotificationSettingValue value)
{
Require.NotNull(notificationType, nameof(notificationType));
Require.NotNull(value, nameof(value));
Require.Positive(userId, nameof(userId));
UserId = userId;
NotificationType = notificationType;
Value = value;
}
NotificationSetting::NotificationSetting ( ) : Journalist |