#83 - Fixed theme serialization

This commit is contained in:
Ben Wallis
2018-11-28 21:50:42 +00:00
parent e3b1a5dba7
commit fd2023598b
8 changed files with 53 additions and 29 deletions

View File

@@ -9,6 +9,10 @@ namespace Filtration.ObjectModel.ThemeEditor
{
private int _value;
private IntegerThemeComponent()
{
}
public IntegerThemeComponent(ThemeComponentType componentType, string componentName, int componentValue)
{
if (componentName == null)
@@ -23,7 +27,7 @@ namespace Filtration.ObjectModel.ThemeEditor
public int Value
{
get { return _value; }
get => _value;
set
{
_value = value;