Platform providers
- New Provider model - Remove WindowsFileDialogs project - Remove PlatformAbstract assembly, use AggContext - Rename OsInformation to OperatingSystem
This commit is contained in:
parent
82c2d333e7
commit
3a9833697d
108 changed files with 398 additions and 435 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue