From f8dc3856dfe0bb8ea6cc53456f7c88b23333881a Mon Sep 17 00:00:00 2001 From: John Lewin Date: Thu, 18 Jan 2018 11:33:08 -0800 Subject: [PATCH] Resolve on access --- DataStorage/ApplicationDataStorage.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DataStorage/ApplicationDataStorage.cs b/DataStorage/ApplicationDataStorage.cs index 3d2d36bc5..13473ec7c 100644 --- a/DataStorage/ApplicationDataStorage.cs +++ b/DataStorage/ApplicationDataStorage.cs @@ -69,11 +69,11 @@ namespace MatterHackers.MatterControl.DataStorage } private static string _applicationUserDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), applicationDataFolderName); - private static string _applicationLibraryDataPath = Path.Combine(_applicationUserDataPath, "Library"); - private static string _libraryAssetPath = Path.Combine(_applicationLibraryDataPath, "Assets"); - private static string _platingDirectory = Path.Combine(_applicationLibraryDataPath, "Plating"); - private static string _applicationTempDataPath = Path.Combine(_applicationUserDataPath, "data", "temp"); - private static string _gcodeOutputPath = Path.Combine(_applicationUserDataPath, "data", "gcode"); + private static string _applicationLibraryDataPath => Path.Combine(_applicationUserDataPath, "Library"); + private static string _libraryAssetPath => Path.Combine(_applicationLibraryDataPath, "Assets"); + private static string _platingDirectory => Path.Combine(_applicationLibraryDataPath, "Plating"); + private static string _applicationTempDataPath => Path.Combine(_applicationUserDataPath, "data", "temp"); + private static string _gcodeOutputPath => Path.Combine(_applicationUserDataPath, "data", "gcode"); public static string ApplicationUserDataPath => EnsurePath(_applicationUserDataPath);