Table of Contents

Class DirectoryEx

Namespace
H.Extensions.Common
Assembly
H.Extensions.Common.dll
public class DirectoryEx
Inheritance
DirectoryEx
Inherited Members
Extension Methods

Constructors

DirectoryEx(string)

public DirectoryEx(string folder)

Parameters

folder string

Properties

Folder

public string Folder { get; }

Property Value

string

Methods

BackupToDirectory(string, Action<string>)

public void BackupToDirectory(string destFolder, Action<string> logAction = null)

Parameters

destFolder string
logAction Action<string>

CreateDirectoryIfNotExsit()

public DirectoryEx CreateDirectoryIfNotExsit()

Returns

DirectoryEx

GetAllFiles(Predicate<FileInfo>)

public List<string> GetAllFiles(Predicate<FileInfo> match = null)

Parameters

match Predicate<FileInfo>

Returns

List<string>