Skip to content

Commit 5a3e7c7

Browse files
authored
Merge pull request #136 from aws/dynamicquery-rules
add DynamicQuery rules
2 parents 3768031 + 7102837 commit 5a3e7c7

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"Name": "System.Linq.Dynamic",
3+
"Version": "1.0.0",
4+
"Packages": [
5+
{
6+
"Type": "Nuget"
7+
}
8+
],
9+
"Recommendations": [
10+
{
11+
"Type": "Namespace",
12+
"Name": "System.Linq.Dynamic",
13+
"Value": "System.Linq.Dynamic",
14+
"KeyType": "Name",
15+
"ContainingType": "",
16+
"RecommendedActions": [
17+
{
18+
"Source": "Amazon",
19+
"Preferred": "Yes",
20+
"TargetFrameworks": [
21+
{
22+
"Name": "netcoreapp3.1",
23+
"TargetCPU": [
24+
"x86",
25+
"x64",
26+
"ARM32",
27+
"ARM64"
28+
]
29+
},
30+
{
31+
"Name": "net5.0",
32+
"TargetCPU": [
33+
"x86",
34+
"x64",
35+
"ARM32",
36+
"ARM64"
37+
]
38+
},
39+
{
40+
"Name": "net6.0",
41+
"TargetCPU": [
42+
"x86",
43+
"x64",
44+
"ARM32",
45+
"ARM64"
46+
]
47+
}
48+
],
49+
"Description": "Add a reference to System.Linq.Dynamic.Core",
50+
"Actions": [
51+
{
52+
"Name": "AddPackage",
53+
"Type": "Package",
54+
"Value": "System.Linq.Dynamic.Core",
55+
"Description": "Add package System.Linq.Dynamic.Core"
56+
},
57+
{
58+
"Name": "AddDirective",
59+
"Type": "Using",
60+
"Value": "System.Linq.Dynamic.Core",
61+
"Description": "Add System.Linq.Dynamic.Core namespace.",
62+
"ActionValidation": {
63+
"Contains": "using System.Linq.Dynamic.Core;",
64+
"NotContains": ""
65+
}
66+
},
67+
{
68+
"Name": "RemoveDirective",
69+
"Type": "Using",
70+
"Value": "System.Linq.Dynamic",
71+
"Description": "Remove System.Linq.Dynamic namespace.",
72+
"ActionValidation": {
73+
"Contains": "",
74+
"NotContains": "using System.Linq.Dynamic;"
75+
}
76+
}
77+
]
78+
}
79+
]
80+
}
81+
]
82+
}

0 commit comments

Comments
 (0)