-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9806f4
commit b092b15
Showing
4 changed files
with
173 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 18 additions & 19 deletions
37
Frends.Files.Delete/Frends.Files.Delete/Definitions/Input.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,25 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel; | ||
|
||
namespace Frends.Files.Delete.Definitions | ||
namespace Frends.Files.Delete.Definitions; | ||
|
||
/// <summary> | ||
/// Input parameters. | ||
/// </summary> | ||
public class Input | ||
{ | ||
/// <summary> | ||
/// Input parameters. | ||
/// Source directory. | ||
/// </summary> | ||
public class Input | ||
{ | ||
/// <summary> | ||
/// Source directory. | ||
/// </summary> | ||
/// <example>c:\temp</example> | ||
[DisplayFormat(DataFormatString = "Text")] | ||
public string Directory { get; set; } | ||
/// <example>c:\temp</example> | ||
[DisplayFormat(DataFormatString = "Text")] | ||
public string Directory { get; set; } | ||
|
||
/// <summary> | ||
/// Pattern to match for files. The file mask uses regular expressions, but for convenience, it has special handling for * and ? wildcards. | ||
/// </summary> | ||
/// <example>test.txt, test*.txt, test?.txt, test.(txt|xml), test.[^t][^x][^t], <regex>^(?!prof).*_test.txt</example> | ||
[DisplayFormat(DataFormatString = "Text")] | ||
[DefaultValue("\"**\\Folder\\*.xml\"")] | ||
public string Pattern { get; set; } | ||
} | ||
} | ||
/// <summary> | ||
/// Pattern to match for files. The file mask uses regular expressions, but for convenience, it has special handling for * and ? wildcards. | ||
/// </summary> | ||
/// <example>test.txt, test*.txt, test?.txt, test.(txt|xml), test.[^t][^x][^t], <regex>^(?!prof).*_test.txt</example> | ||
[DisplayFormat(DataFormatString = "Text")] | ||
[DefaultValue("\"**\\Folder\\*.xml\"")] | ||
public string Pattern { get; set; } | ||
} |
Oops, something went wrong.