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
Done
Action to call when operation is done
public Action? Done { get; set; }
Property Value
DoneOnePercent
Action to call when one percent of operation is done
public Action? DoneOnePercent { get; set; }
Property Value
DontIncludeNewest
Whether to exclude the newest file from results
public bool DontIncludeNewest { get; set; }
Property Value
ExcludeFromLocationsContains
List of substrings to exclude from file locations
public List<string> ExcludeFromLocationsContains { get; set; }
Property Value
ExcludeGeneratedCodeFolders
Whether to exclude generated code folders (obj, bin, node_modules, .git, .vs, dist, out, .next)
public bool ExcludeGeneratedCodeFolders { set; }
Property Value
ExcludeWithMethod
Custom method to exclude files from results
public Action<List<string>>? ExcludeWithMethod { get; set; }
Property Value
FilterFoundFiles
Filter function for found files
public Func<string, bool>? FilterFoundFiles { get; set; }
Property Value
FilterFoundFolders
Filter function for found folders
public Func<string, bool>? FilterFoundFolders { get; set; }
Property Value
FollowJunctions
Whether to follow junction points (symbolic links)
public bool FollowJunctions { get; set; }
Property Value
GetNullIfThereIsMoreThanXFiles
Returns null if there are more than X files found (-1 to disable)
public int GetNullIfThereIsMoreThanXFiles { get; set; }
Property Value
IgnoreFoldersWithName
List of folder names to ignore during search
public List<string> IgnoreFoldersWithName { get; set; }
Property Value
InsertProgressBar
Action to insert progress bar value
public Action<double>? InsertProgressBar { get; set; }
Property Value
InsertProgressBarTime
Action to insert progress bar time value
public Action<double>? InsertProgressBarTime { get; set; }
Property Value
IsJunctionPoint
Function to determine if a directory is a junction point
public Func<string, bool>? IsJunctionPoint { get; set; }
Property Value
LastModifiedFromFileName
Function to get last modified date from filename
public Func<string, DateTime?>? LastModifiedFromFileName { get; set; }
Property Value
ThrowException
Whether to throw exceptions or suppress them
public bool ThrowException { get; set; }
Property Value
TrimExtension
Whether to trim file extensions from results
public bool TrimExtension { get; set; }
Property Value
TrimRootFolderAndLeadingBackslashes
Whether to trim root folder path and leading backslashes from results
public bool TrimRootFolderAndLeadingBackslashes { get; set; }
Property Value
UpdateTextProgressBar
Action to update progress bar text
public Action<string>? UpdateTextProgressBar { get; set; }
Property Value
UseMaskFromExtension
Whether to use mask from extension
public bool UseMaskFromExtension { get; set; }
Property Value
UseProgressBar
Whether to use progress bar
public bool UseProgressBar { get; set; }
Property Value
UseProgressBarTime
Whether to use progress bar with time
public bool UseProgressBarTime { get; set; }
Property Value
Wildcard
Whether to use wildcard matching
public bool Wildcard { get; set; }