Platform providers

- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
This commit is contained in:
John Lewin 2017-08-20 02:34:39 -07:00
parent 82c2d333e7
commit 3a9833697d
108 changed files with 398 additions and 435 deletions

View file

@ -30,7 +30,7 @@ either expressed or implied, of the FreeBSD Project.
using System;
using System.IO;
using MatterHackers.Agg.PlatformAbstract;
using MatterHackers.Agg.Platform;
using Newtonsoft.Json;
namespace MatterHackers.MatterControl
@ -54,7 +54,7 @@ namespace MatterHackers.MatterControl
private static VersionInfo DeserializeFromDisk()
{
string content = StaticData.Instance.ReadAllText("BuildInfo.txt");
string content = AggContext.StaticData.ReadAllText("BuildInfo.txt");
return JsonConvert.DeserializeObject<VersionInfo>(content);
}
}