public static string GetFolderPath(DataFolders folder) { switch (folder) { case DataFolders.Documents: var i = Get.Where <SingleApplication>(); return($@"{Environment.SpecialFolder.MyDocuments.Path()}\{AssemblyData.Company(AssemblyData.Name)}"); case DataFolders.ExecutionPath: return(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location)); } throw new NotSupportedException(); }