Exemple #1
0
        private IFolder GetDataFolder(IFolder deploymentFolder)
        {
            var dataFolder = Path.IsPathRooted(DataFolder)
                                ? DataFolder
                                : Path.GetFullPath(Path.Combine(deploymentFolder.Link.ToString(), DataFolder));

            return(new LocalFolder(FolderLink.From(dataFolder)));
        }
Exemple #2
0
 private static IFolder GetHostFolder()
 {
     return(new LocalFolder(FolderLink.From(AppDomain.CurrentDomain.BaseDirectory)));
 }