Share via


FileInfoWrapper Class

Definition

Wraps an instance of FileInfo to provide implementation of FileInfoBase.

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

Constructors

FileInfoWrapper(FileInfo)

Initializes instance of FileInfoWrapper to wrap the specified object FileInfo.

Properties

FullName

The full path of the file. (Overrides FullName).

Name

The file name. (Overrides Name).

ParentDirectory

The directory containing the file. (Overrides ParentDirectory).

Methods

Equals(Object)

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

(Inherited from Object)
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