Skip to content

Commit

Permalink
Added public properties and a constructor to the CleanupItem class.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed Jan 27, 2025
1 parent 7d46bdd commit fa127d5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/corelib/CleanupItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,20 @@ namespace srcrepair.core
{
public sealed class CleanupItem
{
public string CleanDirectory { get; private set; }

public string CleanMask { get; private set; }

public bool IsRecursive { get; private set; }

public bool CleanEmpty { get; private set; }

public CleanupItem(string Dir, string Mask, bool Recursive, bool Empty)
{
CleanDirectory = Dir;
CleanMask = Mask;
IsRecursive = Recursive;
CleanEmpty = Empty;
}
}
}

0 comments on commit fa127d5

Please sign in to comment.