Deli z drugimi prek


InMemoryDirectoryInfo Class

Definition

Avoids using disk for uses like Pattern Matching.

public ref class InMemoryDirectoryInfo : Microsoft::Extensions::FileSystemGlobbing::Abstractions::DirectoryInfoBase
public class InMemoryDirectoryInfo : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase
type InMemoryDirectoryInfo = class
    inherit DirectoryInfoBase
Public Class InMemoryDirectoryInfo
Inherits DirectoryInfoBase
Inheritance

Constructors

InMemoryDirectoryInfo(String, IEnumerable<String>)

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

Properties

FullName

Gets the full path of the file or directory.

Name

Gets the name of the file or directory.

ParentDirectory

Gets the parent directory for the current file or directory.

Methods

EnumerateFileSystemInfos()

Enumerates all files and directories in the directory.

Equals(Object)

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

(Inherited from Object)
GetDirectory(String)

Returns an instance of DirectoryInfoBase that represents a subdirectory.

GetFile(String)

Returns an instance of FileInfoBase that matches the path given.

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)

Applies to