CompositeDirectoryContents(IList<IFileProvider>, String) 建構函式

定義

建立新的 CompositeDirectoryContents 執行個體,以表示 GetDirectoryContents(String) 呼叫組合的結果。Creates a new instance of CompositeDirectoryContents to represents the result of a call composition of GetDirectoryContents(String).

public:
 CompositeDirectoryContents(System::Collections::Generic::IList<Microsoft::Extensions::FileProviders::IFileProvider ^> ^ fileProviders, System::String ^ subpath);
public CompositeDirectoryContents (System.Collections.Generic.IList<Microsoft.Extensions.FileProviders.IFileProvider> fileProviders, string subpath);
new Microsoft.Extensions.FileProviders.Composite.CompositeDirectoryContents : System.Collections.Generic.IList<Microsoft.Extensions.FileProviders.IFileProvider> * string -> Microsoft.Extensions.FileProviders.Composite.CompositeDirectoryContents
Public Sub New (fileProviders As IList(Of IFileProvider), subpath As String)

參數

fileProviders
IList<IFileProvider>

必須為其撰寫結果的 IFileProvider 清單。The list of IFileProvider for which the results have to be composed.

subpath
String

路徑。The path.

適用於