Esempio n. 1
0
        public async Task <bool> SpawnAsync(string path, string name)
        {
            try
            {
                await FileOperations.CopyDirectoryAsync(rootPath, Path.Combine(path, name), true);

                return(true);
            }
            catch (Exception e)
            {
                MessageBox.Show(Properties.Resources.couldNotSpawnErrorMessage);
                return(false);
            }
        }