CUETools: fix profiles

This commit is contained in:
Grigory Chudov
2014-11-30 18:31:07 -05:00
parent cc3d921b8d
commit c671f200df
7 changed files with 132 additions and 10 deletions

View File

@@ -30,6 +30,15 @@ namespace CUETools.Processor
}
}
public CUEConfigAdvanced(CUEConfigAdvanced src)
{
// Iterate through each property and call SetValue()
foreach (PropertyDescriptor property in TypeDescriptor.GetProperties(this))
{
property.SetValue(this, property.GetValue(src));
}
}
internal static XmlSerializer serializer = new XmlSerializer(typeof(CUEConfigAdvanced));
[DefaultValue("i"), Category("Freedb"), DisplayName("Email user")]
public string FreedbUser { get; set; }