Exemplo n.º 1
0
 /// <summary>
 /// Gets all child files of a given folder.
 /// </summary>
 /// <param name="parentFolderPath">The <see cref="VirtualResourceInfo.FullName"/>, which
 /// identifies the parent folder within the file system.</param>
 /// <returns>The files of the submitted folder.</returns>
 /// <exception cref="ArgumentNullException">If <paramref name="parentFolderPath"/>
 /// is a null reference.</exception>
 /// <exception cref="VirtualResourceNotFoundException">If the folder that is represented
 /// by <paramref name="parentFolderPath"/> does not exist in the file system.</exception>
 /// <exception cref="ResourceAccessException">In case of invalid or prohibited
 /// resource access.</exception>
 public override IEnumerable <VirtualFileInfo> GetChildFiles(string parentFolderPath)
 {
     return(SecureFunc(FileSystemTask.ChildFilesRequest, () => OperationService.GetChildFiles(parentFolderPath),
                       () => String.Format("Could not get child files of folder [{0}].", parentFolderPath)));
 }