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
|
|
@ -33,7 +33,7 @@ using System.IO;
|
|||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using MatterHackers.Agg.PlatformAbstract;
|
||||
using MatterHackers.Agg.Platform;
|
||||
using MatterHackers.Agg.UI;
|
||||
|
||||
namespace MatterHackers.MatterControl.Library
|
||||
|
|
@ -57,7 +57,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
this.ChildContainers = new List<ILibraryContainerLink>();
|
||||
this.Items = new List<ILibraryItem>();
|
||||
#if !__ANDROID__
|
||||
if (OsInformation.OperatingSystem == OSType.Windows)
|
||||
if (AggContext.OperatingSystem == OSType.Windows)
|
||||
{
|
||||
directoryWatcher = new FileSystemWatcher(path);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue