Consolidate SettingsProfile and PrinterSettings types

This commit is contained in:
John Lewin 2016-07-18 15:20:19 -07:00
parent f304e9f3d6
commit 42f133aa70
14 changed files with 837 additions and 937 deletions

View file

@ -61,17 +61,17 @@ namespace MatterControl.Tests.MatterControl
}
}
SettingsProfile GettProfile(string[] settings)
PrinterSettings GettProfile(string[] settings)
{
Dictionary<string, string> dictionary = new Dictionary<string, string>();
for(int i=0; i<settings.Length; i+=2)
{
dictionary.Add(settings[i], settings[i + 1]);
}
var profile = new SettingsProfile(new PrinterSettings()
var profile = new PrinterSettings()
{
OemLayer = new PrinterSettingsLayer(dictionary)
});
};
return profile;
}