on the style again

This commit is contained in:
Paul Schneider 2017-04-25 13:11:20 +02:00
commit dadd149097
6 changed files with 9 additions and 4 deletions

View file

@ -30,6 +30,7 @@ namespace Yavsc.ViewModels.UserFiles
dInfo = new DirectoryInfo(
Startup.UserFilesDirName+Path.DirectorySeparatorChar+finalPath);
if (!dInfo.Exists) dInfo.Create();
Files = dInfo.GetFiles().Select
( entry => new DefaultFileInfo { Name = entry.Name, Size = entry.Length,
CreationTime = entry.CreationTime, LastModified = entry.LastWriteTime }).ToArray();