Winify – Rev 44

Subversion Repositories:
Rev:
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
using Configuration.Annotations;

namespace Configuration
{
    [XmlRoot(Namespace = "urn:winify-configuration-schema", ElementName = "Configuration")]
    public class Configuration : INotifyPropertyChanged
    {
        private bool _launchOnBoot;
        private bool _ignoreSelfSignedCertificates;

        public bool LaunchOnBoot
        {
            get => _launchOnBoot;
            set
            {
                if (value == _launchOnBoot) return;
                _launchOnBoot = value;
                OnPropertyChanged();
            }
        }

        public bool IgnoreSelfSignedCertificates
        {
            get => _ignoreSelfSignedCertificates;
            set
            {
                if (value == _ignoreSelfSignedCertificates) return;
                _ignoreSelfSignedCertificates = value;
                OnPropertyChanged();
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        [NotifyPropertyChangedInvocator]
        protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }
    }
}

Generated by GNU Enscript 1.6.5.90.