Table of Contents

Class GetFilesEveryFolderArgs

Namespace
SunamoGetFiles._public.SunamoArgs
Assembly
SunamoGetFiles.dll

Arguments for GetFilesEveryFolder operations

public class GetFilesEveryFolderArgs
Inheritance
GetFilesEveryFolderArgs
Inherited Members
Extension Methods

Properties

ByDateOfLastModifiedAsc

Whether to sort by date of last modification in ascending order

public bool ByDateOfLastModifiedAsc { get; set; }

Property Value

bool

Done

Action to call when operation is done

public Action? Done { get; set; }

Property Value

Action

DoneOnePercent

Action to call when one percent of operation is done

public Action? DoneOnePercent { get; set; }

Property Value

Action

DontIncludeNewest

Whether to exclude the newest file from results

public bool DontIncludeNewest { get; set; }

Property Value

bool

ExcludeFromLocationsContains

List of substrings to exclude from file locations

public List<string> ExcludeFromLocationsContains { get; set; }

Property Value

List<string>

ExcludeGeneratedCodeFolders

Whether to exclude generated code folders (obj, bin, node_modules, .git, .vs, dist, out, .next)

public bool ExcludeGeneratedCodeFolders { set; }

Property Value

bool

ExcludeWithMethod

Custom method to exclude files from results

public Action<List<string>>? ExcludeWithMethod { get; set; }

Property Value

Action<List<string>>

FilterFoundFiles

Filter function for found files

public Func<string, bool>? FilterFoundFiles { get; set; }

Property Value

Func<string, bool>

FilterFoundFolders

Filter function for found folders

public Func<string, bool>? FilterFoundFolders { get; set; }

Property Value

Func<string, bool>

FollowJunctions

Whether to follow junction points (symbolic links)

public bool FollowJunctions { get; set; }

Property Value

bool

GetNullIfThereIsMoreThanXFiles

Returns null if there are more than X files found (-1 to disable)

public int GetNullIfThereIsMoreThanXFiles { get; set; }

Property Value

int

IgnoreFoldersWithName

List of folder names to ignore during search

public List<string> IgnoreFoldersWithName { get; set; }

Property Value

List<string>

InsertProgressBar

Action to insert progress bar value

public Action<double>? InsertProgressBar { get; set; }

Property Value

Action<double>

InsertProgressBarTime

Action to insert progress bar time value

public Action<double>? InsertProgressBarTime { get; set; }

Property Value

Action<double>

IsJunctionPoint

Function to determine if a directory is a junction point

public Func<string, bool>? IsJunctionPoint { get; set; }

Property Value

Func<string, bool>

LastModifiedFromFileName

Function to get last modified date from filename

public Func<string, DateTime?>? LastModifiedFromFileName { get; set; }

Property Value

Func<string, DateTime?>

ThrowException

Whether to throw exceptions or suppress them

public bool ThrowException { get; set; }

Property Value

bool

TrimExtension

Whether to trim file extensions from results

public bool TrimExtension { get; set; }

Property Value

bool

TrimRootFolderAndLeadingBackslashes

Whether to trim root folder path and leading backslashes from results

public bool TrimRootFolderAndLeadingBackslashes { get; set; }

Property Value

bool

UpdateTextProgressBar

Action to update progress bar text

public Action<string>? UpdateTextProgressBar { get; set; }

Property Value

Action<string>

UseMaskFromExtension

Whether to use mask from extension

public bool UseMaskFromExtension { get; set; }

Property Value

bool

UseProgressBar

Whether to use progress bar

public bool UseProgressBar { get; set; }

Property Value

bool

UseProgressBarTime

Whether to use progress bar with time

public bool UseProgressBarTime { get; set; }

Property Value

bool

Wildcard

Whether to use wildcard matching

public bool Wildcard { get; set; }

Property Value

bool