InMemoryDirectoryInfo Classe
Definição
Evita o uso de disco para usos como Correspondência de padrões.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
- Herança
Construtores
| InMemoryDirectoryInfo(String, IEnumerable<String>) |
Cria um novo InMemoryDirectoryInfo com o diretório raiz e os arquivos fornecidos.Creates a new InMemoryDirectoryInfo with the root directory and files given. |
Propriedades
| FullName |
Uma cadeia de caracteres que contém o caminho completo do arquivo ou diretório.A string containing the full path of the file or 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 |
O diretório pai do arquivo ou diretório atual.The parent directory for the current file or 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 corresponde ao |
| 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) |