Click or drag to resize

FilesHelperGetAllFilesFromAllSubFolders(String, String) Method

Framework to automate tests using Selenium WebDriver
Gets all files from all sub folders, use postfixFilesName in search pattern.

Namespace: Ocaramba.Helpers
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public static ICollection<FileInfo> GetAllFilesFromAllSubFolders(
	string folder,
	string postfixFilesName
)
Request Example

Parameters

folder  String
The folder.
postfixFilesName  String
Postfix name of files for search pattern.

Return Value

ICollectionFileInfo
Collection of files.
Example
How to use it:
C#
var files = GetAllFilesFromAllSubFolders(folder, "live");
See Also