InMemoryDirectoryInfo(String, IEnumerable<String>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.