CompositeDirectoryContents Class

Definition

Represents the result of a call composition of GetDirectoryContents(String) for a list of IFileProvider and a path.

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)
Inheritance
CompositeDirectoryContents
Implements

Constructors

CompositeDirectoryContents(IList<IFileProvider>, String)

Creates a new instance of CompositeDirectoryContents to represents the result of a call composition of GetDirectoryContents(String).

Properties

Exists

True if any given providers exists.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Creates an enumerator for all files in all providers given. Ensures each item in the collection is distinct.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Extension Methods

CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

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

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

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

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Applies to