Winify – Rev 50
?pathlinks?
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;
private Proxy _proxy = new Proxy();
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 Proxy Proxy
{
get => _proxy;
set
{
if (Equals(value, _proxy)) return;
_proxy = value;
OnPropertyChanged();
}
}
[UsedImplicitly]
public Configuration()
{
}
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.