CompositeDirectoryContents 类

定义

表示 IFileProvider 和路径列表的 GetDirectoryContents(String) 调用组合的结果。

public ref class CompositeDirectoryContents : Microsoft::Extensions::FileProviders::IDirectoryContents, System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileProviders::IFileInfo ^>
public class CompositeDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>
type CompositeDirectoryContents = class
    interface IDirectoryContents
    interface seq<IFileInfo>
    interface IEnumerable
Public Class CompositeDirectoryContents
Implements IDirectoryContents, IEnumerable(Of IFileInfo)
继承
CompositeDirectoryContents
实现

构造函数

CompositeDirectoryContents(IList<IFileProvider>, String)

创建 CompositeDirectoryContents 的新实例,以表示 GetDirectoryContents(String) 的调用组合的结果。

属性

Exists

如果存在任何给定提供程序,则为 True。

方法

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetEnumerator()

为给出的所有提供程序中的所有文件创建一个枚举器。 确保集合中的每个项都是不同的。

GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

显式接口实现

IEnumerable.GetEnumerator()

返回循环访问集合的枚举数。

扩展方法

CopyToDataTable<T>(IEnumerable<T>)

在给定其泛型参数 TDataTable 的输入 DataRow 对象的情况下,返回包含 IEnumerable<T> 对象副本的 DataRow

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

在给定其泛型参数 TDataRow 的输入 DataTable 对象的情况下,将 IEnumerable<T> 对象复制到指定的 DataRow

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

在给定其泛型参数 TDataRow 的输入 DataTable 对象的情况下,将 IEnumerable<T> 对象复制到指定的 DataRow

适用于