<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;

namespace MahApps.Metro.Controls.Dialogs
{
    public class LoginDialogSettings : MetroDialogSettings
    {
        private const string DEFAULT_USERNAME_WATERMARK = "Username...";
        private const string DEFAULT_PASSWORD_WATERMARK = "Password...";
        private const Visibility DEFAULT_NEGATIVE_BUTTON_VISIBILITY = Visibility.Collapsed;
        private string _usernameWatermark = null, _passwordWatermark = null;
        public string InitialUsername { get; set; }
        private Visibility? _negativeButtonButtonVisibility;
        public LoginDialogSettings() : base()
        {
            UsernameWatermark = UsernameWatermark != null ? UsernameWatermark : DEFAULT_USERNAME_WATERMARK;
            PasswordWatermark = PasswordWatermark != null ? PasswordWatermark : DEFAULT_PASSWORD_WATERMARK;
            AffirmativeButtonText = "Login";
            FirstAuxiliaryButtonText = "";
            SecondAuxiliaryButtonText = "";
        }
        public string UsernameWatermark
        {
            get { return _usernameWatermark; }
            set { _usernameWatermark = value; }
        }
        public string PasswordWatermark
        {
            get { return _passwordWatermark; }
            set { _passwordWatermark = value; }
        }
        public Visibility NegativeButtonVisibility
        {
            get { return _negativeButtonButtonVisibility.GetValueOrDefault(DEFAULT_NEGATIVE_BUTTON_VISIBILITY); }
            set { _negativeButtonButtonVisibility = value; }<commit_msg>Remove unnecessary code<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;

namespace MahApps.Metro.Controls.Dialogs
{
    public class LoginDialogSettings : MetroDialogSettings
    {
        private const string DEFAULT_USERNAME_WATERMARK = "Username...";
        private const string DEFAULT_PASSWORD_WATERMARK = "Password...";
        private const Visibility DEFAULT_NEGATIVE_BUTTON_VISIBILITY = Visibility.Collapsed;
        private string _usernameWatermark = null, _passwordWatermark = null;
        public string InitialUsername { get; set; }
        private Visibility? _negativeButtonButtonVisibility;
        public LoginDialogSettings() : base()
        {
            UsernameWatermark = UsernameWatermark != null ? UsernameWatermark : DEFAULT_USERNAME_WATERMARK;
            PasswordWatermark = PasswordWatermark != null ? PasswordWatermark : DEFAULT_PASSWORD_WATERMARK;
            AffirmativeButtonText = "Login";
        }
        public string UsernameWatermark
        {
            get { return _usernameWatermark; }
            set { _usernameWatermark = value; }
        }
        public string PasswordWatermark
        {
            get { return _passwordWatermark; }
            set { _passwordWatermark = value; }
        }
        public Visibility NegativeButtonVisibility
        {
            get { return _negativeButtonButtonVisibility.GetValueOrDefault(DEFAULT_NEGATIVE_BUTTON_VISIBILITY); }
            set { _negativeButtonButtonVisibility = value; }
{'fraction_non_alphanumeric': 0.0660006055101423, 'fraction_numerical': 0.0, 'mean_word_length': 2.919335705812574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3739130', 'n_tokens_mistral': 829, 'n_tokens_neox': 836, 'n_words': 186}