Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DirectoryInfoWrapper Class

Definition

Namespace:
Microsoft.Extensions.FileSystemGlobbing.Abstractions
Assembly:
Microsoft.Extensions.FileSystemGlobbing.dll
Package:
Microsoft.Extensions.FileSystemGlobbing v11.0.0-preview.5.26302.115
Source:
DirectoryInfoWrapper.cs
Source:
DirectoryInfoWrapper.cs
Source:
DirectoryInfoWrapper.cs
Source:
DirectoryInfoWrapper.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
DirectoryInfoWrapper(DirectoryInfo)

Initializes an instance of DirectoryInfoWrapper.

Properties

Name Description
FullName

Returns the full path to the directory.

Name

Gets the name of the file or directory.

ParentDirectory

Returns the parent directory.

Methods

Name Description
EnumerateFileSystemInfos()

Enumerates all files and directories in the directory.

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.

Applies to


Feedback

Was this page helpful?