29 writes to Action
Aspire.Hosting.Tests (29)
Pipelines\PipelineOutputDiffingTests.cs (7)
98
options.Rules.Add(new() {
Action
= "Include", Pattern = "generated/**" });
101
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "**/*.tmp" }));
527
builder.Services.PostConfigure<PipelineOutputDiffOptions>(options => options.Rules.Add(new() {
Action
= "Exclude", Pattern = "**/*.tmp" }));
926
options.Rules.Add(new() {
Action
= "Include", Pattern = "**/*" });
927
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "*.tmp" });
938
rule.
Action
= "Include";
941
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "included.txt" });
Pipelines\PipelineOutputSelectionTests.cs (18)
38
options.Rules.Add(new() {
Action
= "Include", Pattern = "**/*" });
39
options.Rules.Add(new() {
Action
= "Exclude", Pattern = ".gitignore" });
40
options.Rules.Add(new() {
Action
= "exclude", Pattern = "src/**" });
41
options.Rules.Add(new() {
Action
= "INCLUDE", Pattern = "src/Ev2OutputRoot/**" });
42
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "**/*.tmp" });
73
options.Rules.Add(new() {
Action
= "Include", Pattern = "artifacts/**/*.json" });
109
? new() {
Action
= "Include", Pattern = "**/*.json" }
110
: new() {
Action
= "Exclude", Pattern = "**/*.tmp" });
175
options.Rules.Add(new() {
Action
= "Include", Pattern = includeLink ? "ignored/child" : "ignored/child/**" });
225
options.Rules.Add(new() {
Action
= "Include", Pattern = "ignored*" });
226
options.Rules.Add(new() {
Action
= "Include", Pattern = "control.txt" });
285
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "**/*" });
343
options.Rules.Add(new() {
Action
= "Include", Pattern = "artifact.txt" });
432
builder.Services.PostConfigure<PipelineOutputDiffOptions>(options => options.Rules.Add(new() {
Action
= "Include", Pattern = "special.txt" }));
510
options.Rules.Add(new() {
Action
= "Include", Pattern = "**/*" });
511
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "**/*.tmp" });
532
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "**/*" });
533
options.Rules.Add(new() {
Action
= "Include", Pattern = pattern });
Pipelines\PipelineOutputStrategyTests.cs (4)
56
options.Rules.Add(new() {
Action
= "Include", Pattern = "**/*" });
57
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "**/.git" });
58
options.Rules.Add(new() {
Action
= "Exclude", Pattern = "**/.git/**" });
63
options.Rules.Add(new() {
Action
= "Include", Pattern = "**/*" });
5 references to Action
Aspire.Hosting (3)
Pipelines\DefaultPipelineOutputSnapshotter.cs (1)
37
if (string.Equals(rule.
Action
, "Include", StringComparison.OrdinalIgnoreCase))
Pipelines\PipelineOutputDiffOptionsValidator.cs (2)
30
if (!string.Equals(rule.
Action
, "Include", StringComparison.OrdinalIgnoreCase) &&
31
!string.Equals(rule.
Action
, "Exclude", StringComparison.OrdinalIgnoreCase))
Aspire.Hosting.Tests (2)
Pipelines\PipelineOutputDiffingTests.cs (2)
935
var rule = Assert.Single(options.Rules, rule => rule.
Action
== "Exclude");
936
Assert.Equal("Exclude", rule.
Action
);