UserPresentaton.NotificationSetting.NotificationSetting C# (CSharp) Method

NotificationSetting() public method

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;
        }

Same methods

NotificationSetting::NotificationSetting ( ) : Journalist
NotificationSetting