|
1 | 1 | {{- config.AddGeneratedFilesToVSProject = false |
2 | 2 | capture output |
3 | | - types_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^Types$" | Array.First |
4 | | - |
5 | | - predicate_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^Predicate" | Array.First |
6 | | - predicatelist_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^PredicateList" | Array.First |
7 | | - condition_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^Condition" | Array.First |
8 | | - conditionlist_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^ConditionList" | Array.First |
9 | | - testresult_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^TestResult" | Array.First |
10 | | - itype_type = data.Interfaces | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^IType" | Array.First |
| 3 | + types_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^Types$" |
| 4 | + predicate_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^Predicate" |
| 5 | + condition_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^Condition" |
| 6 | + testresult_type = data.Classes | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^TestResult" |
| 7 | + itype_type = data.Interfaces | Symbols.WhereNamespaceStartsWith "NetArchTest.Rules" | Symbols.WhereNameMatches "^IType" |
| 8 | + all_types = types_type | Array.Concat predicate_type | Array.Concat condition_type | Array.Concat testresult_type | Array.Concat itype_type |
11 | 9 | }} |
12 | | -# Types |
13 | | - {{ for method in types_type.Methods | Symbols.ThatArePublic | Array.Sort "Name" }} |
14 | | -* [{{method.Name}}](#{{method.BareName}}) |
15 | | - {{- end }} |
16 | | - |
17 | | -# Predicate |
18 | | - {{ for method in predicate_type.Methods | Symbols.ThatArePublic | Array.Sort "Name" }} |
19 | | -* [{{method.Name}}](#{{method.BareName}}) |
20 | | - {{- end }} |
21 | | - |
22 | | -# PredicateList |
23 | | - {{ for method in predicatelist_type.Methods | Symbols.ThatArePublic | Array.Sort "Name" }} |
24 | | -* [{{method.Name}}](#{{method.BareName}}) |
25 | | - {{- end }} |
26 | | - |
27 | | -# Condition |
28 | | - {{ for method in condition_type.Methods | Symbols.ThatArePublic | Array.Sort "Name" }} |
29 | | -* [{{method.Name}}](#{{method.BareName}}) |
30 | | - {{- end }} |
31 | | - |
32 | | -# ConditionList |
33 | | - {{ for method in conditionlist_type.Methods | Symbols.ThatArePublic | Array.Sort "Name" }} |
34 | | -* [{{method.Name}}](#{{method.BareName}}) |
35 | | - {{- end }} |
36 | | - |
37 | | -# TestResult |
38 | | - {{ for method in testresult_type.Properties | Symbols.ThatArePublic | Array.Sort "Name" }} |
39 | | -* [{{method.Name}}](#{{method.BareName}}) |
40 | | - {{- end }} |
41 | | - |
42 | | -# IType |
43 | | - {{ for method in itype_type.Properties | Symbols.ThatArePublic | Array.Sort "Name" }} |
44 | | -* [{{method.Name}}](#{{method.BareName}}) |
45 | | - {{- end }} |
| 10 | + |
| 11 | + |
| 12 | +{{- for type in all_types }} |
| 13 | +## {{ type.Name }} |
| 14 | + |
| 15 | + {{- for method in type.Methods | Symbols.ThatArePublic | Symbols.ThatAreStatic | Array.Sort "Name" }} |
| 16 | +- [{{method.Name}}](#{{type.BareName}}{{method.BareName}}) |
| 17 | + {{- end }} |
| 18 | + {{~ for method in type.Methods | Symbols.ThatArePublic | Symbols.ThatAreNotStatic | Array.Sort "Name" }} |
| 19 | +* [{{method.Name}}](#{{type.BareName}}{{method.BareName}}) |
| 20 | + {{- end }} |
| 21 | + {{- for prop in type.Properties | Symbols.ThatArePublic | Symbols.ThatAreNotStatic | Array.Sort "Name" }} |
| 22 | +* [{{prop.Name}}](#{{type.BareName}}{{prop.BareName}}) |
| 23 | + {{- end }} |
| 24 | +{{ end}} |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | +{{- for type in all_types }} |
| 29 | +## {{ type.Name }} |
| 30 | + |
| 31 | + {{- for method in type.Methods | Symbols.ThatArePublic | Array.Sort "Name" }} |
| 32 | +### {{type.BareName}}.{{method.Name}} |
| 33 | +```csharp |
| 34 | +{{method.FullName}} |
| 35 | +``` |
| 36 | +{{ method.DocComment.Summary | String.StripNewlines }} |
| 37 | + {{- end }} |
| 38 | + |
| 39 | + {{- for prop in type.Properties | Symbols.ThatArePublic | Symbols.ThatAreNotStatic | Array.Sort "Name" }} |
| 40 | +### {{type.BareName}}.{{prop.Name}} |
| 41 | +```csharp |
| 42 | +{{prop.FullName}} |
| 43 | +``` |
| 44 | + {{~ prop.DocComment.Summary | String.StripNewlines }} |
| 45 | + {{- end }} |
| 46 | +{{ end}} |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
46 | 51 |
|
47 | 52 | {{ |
48 | 53 | end |
|
0 commit comments