DirectoryInfoWrapper Classe

Definição

Encapsula uma instância de DirectoryInfo e fornece implementação de DirectoryInfoBase.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
Herança

Construtores

DirectoryInfoWrapper(DirectoryInfo)

Inicializa uma instância de DirectoryInfoWrapper.Initializes an instance of DirectoryInfoWrapper.

DirectoryInfoWrapper(DirectoryInfo, Boolean)

Inicializa uma instância de DirectoryInfoWrapper.Initializes an instance of DirectoryInfoWrapper.

Propriedades

FullName

Retorna o caminho completo para o diretório.Returns the full path to the directory.

Name

Uma cadeia de caracteres que contém o nome do arquivo ou diretório.A string containing the name of the file or directory.

ParentDirectory

Retorna o diretório pai.Returns the parent directory.

Métodos

EnumerateFileSystemInfos()

Enumera todos os arquivos e diretórios no diretório.Enumerates all files and directories in the directory.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetDirectory(String)

Retorna uma instância de DirectoryInfoBase que representa um subdiretório.Returns an instance of DirectoryInfoBase that represents a subdirectory.

GetFile(String)

Retorna uma instância de FileInfoBase que representa no diretório.Returns an instance of FileInfoBase that represents a file in the directory.

GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a