Partajați prin


DirectoryInfoWrapper Class

Definition

Wraps an instance of DirectoryInfo and provides implementation of DirectoryInfoBase.

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

Constructors

DirectoryInfoWrapper(DirectoryInfo)

Initializes an instance of DirectoryInfoWrapper.

Properties

FullName

Returns the full path to the directory.

Name

Gets the name of the file or directory.

ParentDirectory

Returns the parent 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 represents a file in the directory.

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