Delen via


InMemoryDirectoryInfo(String, IEnumerable<String>) Constructor

Definition

Creates a new InMemoryDirectoryInfo with the root directory and files given.

public:
 InMemoryDirectoryInfo(System::String ^ rootDir, System::Collections::Generic::IEnumerable<System::String ^> ^ files);
public InMemoryDirectoryInfo (string rootDir, System.Collections.Generic.IEnumerable<string>? files);
new Microsoft.Extensions.FileSystemGlobbing.InMemoryDirectoryInfo : string * seq<string> -> Microsoft.Extensions.FileSystemGlobbing.InMemoryDirectoryInfo
Public Sub New (rootDir As String, files As IEnumerable(Of String))

Parameters

rootDir
String

The root directory that this FileSystem will use.

files
IEnumerable<String>

Collection of file names. If relative paths rootDir will be prepended to the paths.

Applies to