@alloy-js/csharp 0.21.0-dev.0 → 0.21.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/enum/declaration.d.ts +2 -2
- package/dist/src/components/enum/declaration.d.ts.map +1 -1
- package/dist/src/components/enum/declaration.js +3 -3
- package/dist/src/components/enum/declaration.js.map +1 -1
- package/dist/src/components/enum/declaration.test.js +15 -1
- package/dist/src/components/enum/declaration.test.js.map +1 -1
- package/dist/src/components/enum/member.d.ts +2 -2
- package/dist/src/components/enum/member.d.ts.map +1 -1
- package/dist/src/components/enum/member.js +3 -3
- package/dist/src/components/enum/member.js.map +1 -1
- package/dist/src/components/enum/member.test.js +24 -1
- package/dist/src/components/enum/member.test.js.map +1 -1
- package/dist/src/components/field/field.d.ts +2 -2
- package/dist/src/components/field/field.d.ts.map +1 -1
- package/dist/src/components/field/field.js.map +1 -1
- package/dist/src/components/field/field.test.js +19 -1
- package/dist/src/components/field/field.test.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +1 -1
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/interface/declaration.d.ts +1 -1
- package/dist/src/components/interface/declaration.d.ts.map +1 -1
- package/dist/src/components/interface/declaration.js +3 -3
- package/dist/src/components/interface/declaration.js.map +1 -1
- package/dist/src/components/interface/declaration.test.js +14 -1
- package/dist/src/components/interface/declaration.test.js.map +1 -1
- package/dist/src/components/interface/method.d.ts +2 -2
- package/dist/src/components/interface/method.d.ts.map +1 -1
- package/dist/src/components/interface/method.js.map +1 -1
- package/dist/src/components/interface/method.test.js +17 -1
- package/dist/src/components/interface/method.test.js.map +1 -1
- package/dist/src/components/interface/property.d.ts +2 -2
- package/dist/src/components/interface/property.d.ts.map +1 -1
- package/dist/src/components/interface/property.js.map +1 -1
- package/dist/src/components/interface/property.test.js +19 -0
- package/dist/src/components/interface/property.test.js.map +1 -1
- package/dist/src/components/namespace.d.ts +3 -1
- package/dist/src/components/namespace.d.ts.map +1 -1
- package/dist/src/components/namespace.js +3 -1
- package/dist/src/components/namespace.js.map +1 -1
- package/dist/src/components/namespace.ref.test.js +41 -9
- package/dist/src/components/namespace.ref.test.js.map +1 -1
- package/dist/src/components/namespace.test.js +14 -0
- package/dist/src/components/namespace.test.js.map +1 -1
- package/dist/src/components/record/declaration.d.ts +1 -1
- package/dist/src/components/record/declaration.d.ts.map +1 -1
- package/dist/src/components/record/declaration.js +3 -4
- package/dist/src/components/record/declaration.js.map +1 -1
- package/dist/src/components/record/declaration.test.js +14 -1
- package/dist/src/components/record/declaration.test.js.map +1 -1
- package/dist/src/components/source-file/source-file.js +2 -2
- package/dist/src/components/source-file/source-file.js.map +1 -1
- package/dist/src/components/source-file/using.test.d.ts.map +1 -0
- package/dist/{test → src/components/source-file}/using.test.js +30 -49
- package/dist/src/components/source-file/using.test.js.map +1 -0
- package/dist/src/components/stc/index.d.ts +1 -1
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/components/stc/index.js +1 -1
- package/dist/src/components/stc/index.js.map +1 -1
- package/dist/src/components/struct/declaration.d.ts +1 -1
- package/dist/src/components/struct/declaration.d.ts.map +1 -1
- package/dist/src/components/struct/declaration.js +3 -3
- package/dist/src/components/struct/declaration.js.map +1 -1
- package/dist/src/components/struct/declaration.test.js +14 -1
- package/dist/src/components/struct/declaration.test.js.map +1 -1
- package/dist/src/components/type-parameters/type-parameter.d.ts +2 -2
- package/dist/src/components/type-parameters/type-parameter.d.ts.map +1 -1
- package/dist/src/components/type-parameters/type-parameter.js.map +1 -1
- package/dist/src/components/type-parameters/type-parameters.test.js +14 -0
- package/dist/src/components/type-parameters/type-parameters.test.js.map +1 -1
- package/dist/src/components/using/using.d.ts +28 -0
- package/dist/src/components/using/using.d.ts.map +1 -0
- package/dist/src/components/using/using.js +37 -0
- package/dist/src/components/using/using.js.map +1 -0
- package/dist/src/components/using/using.test.d.ts +2 -0
- package/dist/src/components/using/using.test.d.ts.map +1 -0
- package/dist/src/components/using/using.test.js +19 -0
- package/dist/src/components/using/using.test.js.map +1 -0
- package/dist/src/components/var/declaration.d.ts +2 -2
- package/dist/src/components/var/declaration.d.ts.map +1 -1
- package/dist/src/components/var/declaration.js.map +1 -1
- package/dist/src/components/var/declaration.test.js +22 -1
- package/dist/src/components/var/declaration.test.js.map +1 -1
- package/dist/src/name-policy.d.ts +1 -1
- package/dist/src/name-policy.d.ts.map +1 -1
- package/dist/src/name-policy.js +1 -0
- package/dist/src/name-policy.js.map +1 -1
- package/dist/src/symbols/factories.d.ts +1 -1
- package/dist/src/symbols/factories.d.ts.map +1 -1
- package/dist/src/symbols/factories.js +6 -4
- package/dist/src/symbols/factories.js.map +1 -1
- package/dist/src/symbols/namespace.d.ts +2 -2
- package/dist/src/symbols/namespace.d.ts.map +1 -1
- package/dist/src/symbols/namespace.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/components/enum/declaration.test.tsx +14 -1
- package/src/components/enum/declaration.tsx +4 -3
- package/src/components/enum/member.test.tsx +22 -1
- package/src/components/enum/member.tsx +4 -4
- package/src/components/field/field.test.tsx +14 -1
- package/src/components/field/field.tsx +2 -2
- package/src/components/index.ts +1 -1
- package/src/components/interface/declaration.test.tsx +11 -1
- package/src/components/interface/declaration.tsx +3 -4
- package/src/components/interface/method.test.tsx +14 -1
- package/src/components/interface/method.tsx +2 -1
- package/src/components/interface/property.test.tsx +13 -0
- package/src/components/interface/property.tsx +2 -1
- package/src/components/namespace.ref.test.tsx +33 -8
- package/src/components/namespace.test.tsx +13 -0
- package/src/components/namespace.tsx +6 -3
- package/src/components/record/declaration.test.tsx +11 -1
- package/src/components/record/declaration.tsx +3 -4
- package/src/components/source-file/source-file.tsx +2 -2
- package/src/components/source-file/using.test.tsx +94 -0
- package/src/components/stc/index.ts +1 -1
- package/src/components/struct/declaration.test.tsx +11 -1
- package/src/components/struct/declaration.tsx +3 -4
- package/src/components/type-parameters/type-parameter.tsx +2 -1
- package/src/components/type-parameters/type-parameters.test.tsx +9 -0
- package/src/components/using/using.test.tsx +15 -0
- package/src/components/using/using.tsx +52 -0
- package/src/components/var/declaration.test.tsx +16 -1
- package/src/components/var/declaration.tsx +2 -1
- package/src/name-policy.ts +3 -1
- package/src/symbols/factories.ts +12 -4
- package/src/symbols/namespace.ts +2 -2
- package/temp/api.json +266 -48
- package/dist/src/components/UsingDirective.d.ts +0 -10
- package/dist/src/components/UsingDirective.d.ts.map +0 -1
- package/dist/src/components/UsingDirective.js +0 -15
- package/dist/src/components/UsingDirective.js.map +0 -1
- package/dist/test/using.test.d.ts.map +0 -1
- package/dist/test/using.test.js.map +0 -1
- package/src/components/UsingDirective.tsx +0 -28
- package/test/using.test.tsx +0 -118
- /package/dist/{test → src/components/source-file}/using.test.d.ts +0 -0
package/temp/api.json
CHANGED
|
@@ -2060,7 +2060,21 @@
|
|
|
2060
2060
|
},
|
|
2061
2061
|
{
|
|
2062
2062
|
"kind": "Content",
|
|
2063
|
-
"text": "string"
|
|
2063
|
+
"text": "string | "
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"kind": "Reference",
|
|
2067
|
+
"text": "Namekey",
|
|
2068
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"kind": "Content",
|
|
2072
|
+
"text": ", options?: "
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"kind": "Reference",
|
|
2076
|
+
"text": "CSharpSymbolOptions",
|
|
2077
|
+
"canonicalReference": "@alloy-js/csharp!CSharpSymbolOptions:interface"
|
|
2064
2078
|
},
|
|
2065
2079
|
{
|
|
2066
2080
|
"kind": "Content",
|
|
@@ -2078,8 +2092,8 @@
|
|
|
2078
2092
|
],
|
|
2079
2093
|
"fileUrlPath": "src/symbols/factories.ts",
|
|
2080
2094
|
"returnTypeTokenRange": {
|
|
2081
|
-
"startIndex":
|
|
2082
|
-
"endIndex":
|
|
2095
|
+
"startIndex": 6,
|
|
2096
|
+
"endIndex": 7
|
|
2083
2097
|
},
|
|
2084
2098
|
"releaseTag": "Public",
|
|
2085
2099
|
"overloadIndex": 1,
|
|
@@ -2088,9 +2102,17 @@
|
|
|
2088
2102
|
"parameterName": "name",
|
|
2089
2103
|
"parameterTypeTokenRange": {
|
|
2090
2104
|
"startIndex": 1,
|
|
2091
|
-
"endIndex":
|
|
2105
|
+
"endIndex": 3
|
|
2092
2106
|
},
|
|
2093
2107
|
"isOptional": false
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"parameterName": "options",
|
|
2111
|
+
"parameterTypeTokenRange": {
|
|
2112
|
+
"startIndex": 4,
|
|
2113
|
+
"endIndex": 5
|
|
2114
|
+
},
|
|
2115
|
+
"isOptional": true
|
|
2094
2116
|
}
|
|
2095
2117
|
],
|
|
2096
2118
|
"name": "createNamespaceSymbol"
|
|
@@ -2510,7 +2532,7 @@
|
|
|
2510
2532
|
},
|
|
2511
2533
|
{
|
|
2512
2534
|
"kind": "Content",
|
|
2513
|
-
"text": "\"class\" | \"constant\" | \"variable\" | \"struct\" | \"enum\" | \"enum-member\" | \"function\" | \"interface\" | \"record\" | \"class-member-private\" | \"class-member-public\" | \"class-method\" | \"class-property\" | \"parameter\" | \"type-parameter\""
|
|
2535
|
+
"text": "\"class\" | \"constant\" | \"variable\" | \"struct\" | \"enum\" | \"enum-member\" | \"function\" | \"interface\" | \"record\" | \"class-member-private\" | \"class-member-public\" | \"class-method\" | \"class-property\" | \"parameter\" | \"type-parameter\" | \"namespace\""
|
|
2514
2536
|
},
|
|
2515
2537
|
{
|
|
2516
2538
|
"kind": "Content",
|
|
@@ -6596,7 +6618,12 @@
|
|
|
6596
6618
|
},
|
|
6597
6619
|
{
|
|
6598
6620
|
"kind": "Content",
|
|
6599
|
-
"text": "string"
|
|
6621
|
+
"text": "string | "
|
|
6622
|
+
},
|
|
6623
|
+
{
|
|
6624
|
+
"kind": "Reference",
|
|
6625
|
+
"text": "Namekey",
|
|
6626
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
6600
6627
|
},
|
|
6601
6628
|
{
|
|
6602
6629
|
"kind": "Content",
|
|
@@ -6609,7 +6636,7 @@
|
|
|
6609
6636
|
"name": "name",
|
|
6610
6637
|
"propertyTypeTokenRange": {
|
|
6611
6638
|
"startIndex": 1,
|
|
6612
|
-
"endIndex":
|
|
6639
|
+
"endIndex": 3
|
|
6613
6640
|
}
|
|
6614
6641
|
},
|
|
6615
6642
|
{
|
|
@@ -6738,7 +6765,12 @@
|
|
|
6738
6765
|
},
|
|
6739
6766
|
{
|
|
6740
6767
|
"kind": "Content",
|
|
6741
|
-
"text": "string"
|
|
6768
|
+
"text": "string | "
|
|
6769
|
+
},
|
|
6770
|
+
{
|
|
6771
|
+
"kind": "Reference",
|
|
6772
|
+
"text": "Namekey",
|
|
6773
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
6742
6774
|
},
|
|
6743
6775
|
{
|
|
6744
6776
|
"kind": "Content",
|
|
@@ -6751,7 +6783,7 @@
|
|
|
6751
6783
|
"name": "name",
|
|
6752
6784
|
"propertyTypeTokenRange": {
|
|
6753
6785
|
"startIndex": 1,
|
|
6754
|
-
"endIndex":
|
|
6786
|
+
"endIndex": 3
|
|
6755
6787
|
}
|
|
6756
6788
|
},
|
|
6757
6789
|
{
|
|
@@ -7030,7 +7062,12 @@
|
|
|
7030
7062
|
},
|
|
7031
7063
|
{
|
|
7032
7064
|
"kind": "Content",
|
|
7033
|
-
"text": "string"
|
|
7065
|
+
"text": "string | "
|
|
7066
|
+
},
|
|
7067
|
+
{
|
|
7068
|
+
"kind": "Reference",
|
|
7069
|
+
"text": "Namekey",
|
|
7070
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
7034
7071
|
},
|
|
7035
7072
|
{
|
|
7036
7073
|
"kind": "Content",
|
|
@@ -7043,7 +7080,7 @@
|
|
|
7043
7080
|
"name": "name",
|
|
7044
7081
|
"propertyTypeTokenRange": {
|
|
7045
7082
|
"startIndex": 1,
|
|
7046
|
-
"endIndex":
|
|
7083
|
+
"endIndex": 3
|
|
7047
7084
|
}
|
|
7048
7085
|
},
|
|
7049
7086
|
{
|
|
@@ -7370,7 +7407,12 @@
|
|
|
7370
7407
|
},
|
|
7371
7408
|
{
|
|
7372
7409
|
"kind": "Content",
|
|
7373
|
-
"text": "string"
|
|
7410
|
+
"text": "string | "
|
|
7411
|
+
},
|
|
7412
|
+
{
|
|
7413
|
+
"kind": "Reference",
|
|
7414
|
+
"text": "core.Namekey",
|
|
7415
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
7374
7416
|
},
|
|
7375
7417
|
{
|
|
7376
7418
|
"kind": "Content",
|
|
@@ -7383,7 +7425,7 @@
|
|
|
7383
7425
|
"name": "name",
|
|
7384
7426
|
"propertyTypeTokenRange": {
|
|
7385
7427
|
"startIndex": 1,
|
|
7386
|
-
"endIndex":
|
|
7428
|
+
"endIndex": 3
|
|
7387
7429
|
}
|
|
7388
7430
|
},
|
|
7389
7431
|
{
|
|
@@ -7686,7 +7728,12 @@
|
|
|
7686
7728
|
},
|
|
7687
7729
|
{
|
|
7688
7730
|
"kind": "Content",
|
|
7689
|
-
"text": "string"
|
|
7731
|
+
"text": "string | "
|
|
7732
|
+
},
|
|
7733
|
+
{
|
|
7734
|
+
"kind": "Reference",
|
|
7735
|
+
"text": "Namekey",
|
|
7736
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
7690
7737
|
},
|
|
7691
7738
|
{
|
|
7692
7739
|
"kind": "Content",
|
|
@@ -7699,7 +7746,7 @@
|
|
|
7699
7746
|
"name": "name",
|
|
7700
7747
|
"propertyTypeTokenRange": {
|
|
7701
7748
|
"startIndex": 1,
|
|
7702
|
-
"endIndex":
|
|
7749
|
+
"endIndex": 3
|
|
7703
7750
|
}
|
|
7704
7751
|
},
|
|
7705
7752
|
{
|
|
@@ -8111,7 +8158,12 @@
|
|
|
8111
8158
|
},
|
|
8112
8159
|
{
|
|
8113
8160
|
"kind": "Content",
|
|
8114
|
-
"text": "string"
|
|
8161
|
+
"text": "string | "
|
|
8162
|
+
},
|
|
8163
|
+
{
|
|
8164
|
+
"kind": "Reference",
|
|
8165
|
+
"text": "Namekey",
|
|
8166
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
8115
8167
|
},
|
|
8116
8168
|
{
|
|
8117
8169
|
"kind": "Content",
|
|
@@ -8124,7 +8176,7 @@
|
|
|
8124
8176
|
"name": "name",
|
|
8125
8177
|
"propertyTypeTokenRange": {
|
|
8126
8178
|
"startIndex": 1,
|
|
8127
|
-
"endIndex":
|
|
8179
|
+
"endIndex": 3
|
|
8128
8180
|
}
|
|
8129
8181
|
},
|
|
8130
8182
|
{
|
|
@@ -10171,7 +10223,12 @@
|
|
|
10171
10223
|
},
|
|
10172
10224
|
{
|
|
10173
10225
|
"kind": "Content",
|
|
10174
|
-
"text": "string"
|
|
10226
|
+
"text": "string | "
|
|
10227
|
+
},
|
|
10228
|
+
{
|
|
10229
|
+
"kind": "Reference",
|
|
10230
|
+
"text": "Namekey",
|
|
10231
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
10175
10232
|
},
|
|
10176
10233
|
{
|
|
10177
10234
|
"kind": "Content",
|
|
@@ -10184,7 +10241,48 @@
|
|
|
10184
10241
|
"name": "name",
|
|
10185
10242
|
"propertyTypeTokenRange": {
|
|
10186
10243
|
"startIndex": 1,
|
|
10187
|
-
"endIndex":
|
|
10244
|
+
"endIndex": 3
|
|
10245
|
+
}
|
|
10246
|
+
},
|
|
10247
|
+
{
|
|
10248
|
+
"kind": "PropertySignature",
|
|
10249
|
+
"canonicalReference": "@alloy-js/csharp!NamespaceProps#refkey:member",
|
|
10250
|
+
"docComment": "",
|
|
10251
|
+
"excerptTokens": [
|
|
10252
|
+
{
|
|
10253
|
+
"kind": "Content",
|
|
10254
|
+
"text": "refkey?: "
|
|
10255
|
+
},
|
|
10256
|
+
{
|
|
10257
|
+
"kind": "Reference",
|
|
10258
|
+
"text": "Refkey",
|
|
10259
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
10260
|
+
},
|
|
10261
|
+
{
|
|
10262
|
+
"kind": "Content",
|
|
10263
|
+
"text": " | "
|
|
10264
|
+
},
|
|
10265
|
+
{
|
|
10266
|
+
"kind": "Reference",
|
|
10267
|
+
"text": "Refkey",
|
|
10268
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
10269
|
+
},
|
|
10270
|
+
{
|
|
10271
|
+
"kind": "Content",
|
|
10272
|
+
"text": "[]"
|
|
10273
|
+
},
|
|
10274
|
+
{
|
|
10275
|
+
"kind": "Content",
|
|
10276
|
+
"text": ";"
|
|
10277
|
+
}
|
|
10278
|
+
],
|
|
10279
|
+
"isReadonly": false,
|
|
10280
|
+
"isOptional": true,
|
|
10281
|
+
"releaseTag": "Public",
|
|
10282
|
+
"name": "refkey",
|
|
10283
|
+
"propertyTypeTokenRange": {
|
|
10284
|
+
"startIndex": 1,
|
|
10285
|
+
"endIndex": 5
|
|
10188
10286
|
}
|
|
10189
10287
|
}
|
|
10190
10288
|
],
|
|
@@ -10226,7 +10324,12 @@
|
|
|
10226
10324
|
},
|
|
10227
10325
|
{
|
|
10228
10326
|
"kind": "Content",
|
|
10229
|
-
"text": "string"
|
|
10327
|
+
"text": "string | "
|
|
10328
|
+
},
|
|
10329
|
+
{
|
|
10330
|
+
"kind": "Reference",
|
|
10331
|
+
"text": "Namekey",
|
|
10332
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
10230
10333
|
},
|
|
10231
10334
|
{
|
|
10232
10335
|
"kind": "Content",
|
|
@@ -10259,23 +10362,23 @@
|
|
|
10259
10362
|
"parameterName": "name",
|
|
10260
10363
|
"parameterTypeTokenRange": {
|
|
10261
10364
|
"startIndex": 1,
|
|
10262
|
-
"endIndex":
|
|
10365
|
+
"endIndex": 3
|
|
10263
10366
|
},
|
|
10264
10367
|
"isOptional": false
|
|
10265
10368
|
},
|
|
10266
10369
|
{
|
|
10267
10370
|
"parameterName": "parentNamespace",
|
|
10268
10371
|
"parameterTypeTokenRange": {
|
|
10269
|
-
"startIndex":
|
|
10270
|
-
"endIndex":
|
|
10372
|
+
"startIndex": 4,
|
|
10373
|
+
"endIndex": 5
|
|
10271
10374
|
},
|
|
10272
10375
|
"isOptional": true
|
|
10273
10376
|
},
|
|
10274
10377
|
{
|
|
10275
10378
|
"parameterName": "options",
|
|
10276
10379
|
"parameterTypeTokenRange": {
|
|
10277
|
-
"startIndex":
|
|
10278
|
-
"endIndex":
|
|
10380
|
+
"startIndex": 6,
|
|
10381
|
+
"endIndex": 7
|
|
10279
10382
|
},
|
|
10280
10383
|
"isOptional": true
|
|
10281
10384
|
}
|
|
@@ -12079,7 +12182,12 @@
|
|
|
12079
12182
|
},
|
|
12080
12183
|
{
|
|
12081
12184
|
"kind": "Content",
|
|
12082
|
-
"text": "string"
|
|
12185
|
+
"text": "string | "
|
|
12186
|
+
},
|
|
12187
|
+
{
|
|
12188
|
+
"kind": "Reference",
|
|
12189
|
+
"text": "core.Namekey",
|
|
12190
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
12083
12191
|
},
|
|
12084
12192
|
{
|
|
12085
12193
|
"kind": "Content",
|
|
@@ -12092,7 +12200,7 @@
|
|
|
12092
12200
|
"name": "name",
|
|
12093
12201
|
"propertyTypeTokenRange": {
|
|
12094
12202
|
"startIndex": 1,
|
|
12095
|
-
"endIndex":
|
|
12203
|
+
"endIndex": 3
|
|
12096
12204
|
}
|
|
12097
12205
|
},
|
|
12098
12206
|
{
|
|
@@ -12776,7 +12884,12 @@
|
|
|
12776
12884
|
},
|
|
12777
12885
|
{
|
|
12778
12886
|
"kind": "Content",
|
|
12779
|
-
"text": "string"
|
|
12887
|
+
"text": "string | "
|
|
12888
|
+
},
|
|
12889
|
+
{
|
|
12890
|
+
"kind": "Reference",
|
|
12891
|
+
"text": "core.Namekey",
|
|
12892
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
12780
12893
|
},
|
|
12781
12894
|
{
|
|
12782
12895
|
"kind": "Content",
|
|
@@ -12789,7 +12902,7 @@
|
|
|
12789
12902
|
"name": "name",
|
|
12790
12903
|
"propertyTypeTokenRange": {
|
|
12791
12904
|
"startIndex": 1,
|
|
12792
|
-
"endIndex":
|
|
12905
|
+
"endIndex": 3
|
|
12793
12906
|
}
|
|
12794
12907
|
},
|
|
12795
12908
|
{
|
|
@@ -13065,7 +13178,12 @@
|
|
|
13065
13178
|
},
|
|
13066
13179
|
{
|
|
13067
13180
|
"kind": "Content",
|
|
13068
|
-
"text": "string"
|
|
13181
|
+
"text": "string | "
|
|
13182
|
+
},
|
|
13183
|
+
{
|
|
13184
|
+
"kind": "Reference",
|
|
13185
|
+
"text": "Namekey",
|
|
13186
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
13069
13187
|
},
|
|
13070
13188
|
{
|
|
13071
13189
|
"kind": "Content",
|
|
@@ -13078,7 +13196,7 @@
|
|
|
13078
13196
|
"name": "name",
|
|
13079
13197
|
"propertyTypeTokenRange": {
|
|
13080
13198
|
"startIndex": 1,
|
|
13081
|
-
"endIndex":
|
|
13199
|
+
"endIndex": 3
|
|
13082
13200
|
}
|
|
13083
13201
|
},
|
|
13084
13202
|
{
|
|
@@ -13436,25 +13554,120 @@
|
|
|
13436
13554
|
},
|
|
13437
13555
|
{
|
|
13438
13556
|
"kind": "Function",
|
|
13439
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
13557
|
+
"canonicalReference": "@alloy-js/csharp!UsingNamespaceDirective:function(1)",
|
|
13440
13558
|
"docComment": "",
|
|
13441
13559
|
"excerptTokens": [
|
|
13442
13560
|
{
|
|
13443
13561
|
"kind": "Content",
|
|
13444
|
-
"text": "export declare function
|
|
13562
|
+
"text": "export declare function UsingNamespaceDirective(props: "
|
|
13445
13563
|
},
|
|
13446
13564
|
{
|
|
13447
13565
|
"kind": "Reference",
|
|
13448
|
-
"text": "
|
|
13449
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
13566
|
+
"text": "UsingNamespaceDirective",
|
|
13567
|
+
"canonicalReference": "@alloy-js/csharp!UsingNamespaceDirective:interface"
|
|
13450
13568
|
},
|
|
13451
13569
|
{
|
|
13452
13570
|
"kind": "Content",
|
|
13453
13571
|
"text": "): "
|
|
13454
13572
|
},
|
|
13573
|
+
{
|
|
13574
|
+
"kind": "Content",
|
|
13575
|
+
"text": "string"
|
|
13576
|
+
},
|
|
13577
|
+
{
|
|
13578
|
+
"kind": "Content",
|
|
13579
|
+
"text": ";"
|
|
13580
|
+
}
|
|
13581
|
+
],
|
|
13582
|
+
"fileUrlPath": "src/components/using/using.tsx",
|
|
13583
|
+
"returnTypeTokenRange": {
|
|
13584
|
+
"startIndex": 3,
|
|
13585
|
+
"endIndex": 4
|
|
13586
|
+
},
|
|
13587
|
+
"releaseTag": "Public",
|
|
13588
|
+
"overloadIndex": 1,
|
|
13589
|
+
"parameters": [
|
|
13590
|
+
{
|
|
13591
|
+
"parameterName": "props",
|
|
13592
|
+
"parameterTypeTokenRange": {
|
|
13593
|
+
"startIndex": 1,
|
|
13594
|
+
"endIndex": 2
|
|
13595
|
+
},
|
|
13596
|
+
"isOptional": false
|
|
13597
|
+
}
|
|
13598
|
+
],
|
|
13599
|
+
"name": "UsingNamespaceDirective"
|
|
13600
|
+
},
|
|
13601
|
+
{
|
|
13602
|
+
"kind": "Interface",
|
|
13603
|
+
"canonicalReference": "@alloy-js/csharp!UsingNamespaceDirective:interface",
|
|
13604
|
+
"docComment": "",
|
|
13605
|
+
"excerptTokens": [
|
|
13606
|
+
{
|
|
13607
|
+
"kind": "Content",
|
|
13608
|
+
"text": "export interface UsingNamespaceDirective "
|
|
13609
|
+
}
|
|
13610
|
+
],
|
|
13611
|
+
"fileUrlPath": "src/components/using/using.tsx",
|
|
13612
|
+
"releaseTag": "Public",
|
|
13613
|
+
"name": "UsingNamespaceDirective",
|
|
13614
|
+
"preserveMemberOrder": false,
|
|
13615
|
+
"members": [
|
|
13616
|
+
{
|
|
13617
|
+
"kind": "PropertySignature",
|
|
13618
|
+
"canonicalReference": "@alloy-js/csharp!UsingNamespaceDirective#namespace:member",
|
|
13619
|
+
"docComment": "",
|
|
13620
|
+
"excerptTokens": [
|
|
13621
|
+
{
|
|
13622
|
+
"kind": "Content",
|
|
13623
|
+
"text": "namespace: "
|
|
13624
|
+
},
|
|
13625
|
+
{
|
|
13626
|
+
"kind": "Content",
|
|
13627
|
+
"text": "string"
|
|
13628
|
+
},
|
|
13629
|
+
{
|
|
13630
|
+
"kind": "Content",
|
|
13631
|
+
"text": ";"
|
|
13632
|
+
}
|
|
13633
|
+
],
|
|
13634
|
+
"isReadonly": false,
|
|
13635
|
+
"isOptional": false,
|
|
13636
|
+
"releaseTag": "Public",
|
|
13637
|
+
"name": "namespace",
|
|
13638
|
+
"propertyTypeTokenRange": {
|
|
13639
|
+
"startIndex": 1,
|
|
13640
|
+
"endIndex": 2
|
|
13641
|
+
}
|
|
13642
|
+
}
|
|
13643
|
+
],
|
|
13644
|
+
"extendsTokenRanges": []
|
|
13645
|
+
},
|
|
13646
|
+
{
|
|
13647
|
+
"kind": "Function",
|
|
13648
|
+
"canonicalReference": "@alloy-js/csharp!Usings:function(1)",
|
|
13649
|
+
"docComment": "/**\n * Component rendering csharp using directive\n *\n * @example\n *\n *\n *\n * ```tsx\n * <Usings namespaces={[\"System\", \"Models\"]} />\n * ```\n *\n *\n * will render\n *\n * ```csharp\n * using Models;\n * using System;\n * ```\n *\n */\n",
|
|
13650
|
+
"excerptTokens": [
|
|
13651
|
+
{
|
|
13652
|
+
"kind": "Content",
|
|
13653
|
+
"text": "export declare function Usings(props: "
|
|
13654
|
+
},
|
|
13455
13655
|
{
|
|
13456
13656
|
"kind": "Reference",
|
|
13457
|
-
"text": "
|
|
13657
|
+
"text": "UsingsProps",
|
|
13658
|
+
"canonicalReference": "@alloy-js/csharp!UsingsProps:interface"
|
|
13659
|
+
},
|
|
13660
|
+
{
|
|
13661
|
+
"kind": "Content",
|
|
13662
|
+
"text": "): "
|
|
13663
|
+
},
|
|
13664
|
+
{
|
|
13665
|
+
"kind": "Content",
|
|
13666
|
+
"text": "import(\"@alloy-js/core\")."
|
|
13667
|
+
},
|
|
13668
|
+
{
|
|
13669
|
+
"kind": "Reference",
|
|
13670
|
+
"text": "Children",
|
|
13458
13671
|
"canonicalReference": "@alloy-js/core!Children:type"
|
|
13459
13672
|
},
|
|
13460
13673
|
{
|
|
@@ -13462,10 +13675,10 @@
|
|
|
13462
13675
|
"text": ";"
|
|
13463
13676
|
}
|
|
13464
13677
|
],
|
|
13465
|
-
"fileUrlPath": "src/components/
|
|
13678
|
+
"fileUrlPath": "src/components/using/using.tsx",
|
|
13466
13679
|
"returnTypeTokenRange": {
|
|
13467
13680
|
"startIndex": 3,
|
|
13468
|
-
"endIndex":
|
|
13681
|
+
"endIndex": 5
|
|
13469
13682
|
},
|
|
13470
13683
|
"releaseTag": "Public",
|
|
13471
13684
|
"overloadIndex": 1,
|
|
@@ -13479,31 +13692,31 @@
|
|
|
13479
13692
|
"isOptional": false
|
|
13480
13693
|
}
|
|
13481
13694
|
],
|
|
13482
|
-
"name": "
|
|
13695
|
+
"name": "Usings"
|
|
13483
13696
|
},
|
|
13484
13697
|
{
|
|
13485
13698
|
"kind": "Interface",
|
|
13486
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
13699
|
+
"canonicalReference": "@alloy-js/csharp!UsingsProps:interface",
|
|
13487
13700
|
"docComment": "",
|
|
13488
13701
|
"excerptTokens": [
|
|
13489
13702
|
{
|
|
13490
13703
|
"kind": "Content",
|
|
13491
|
-
"text": "export interface
|
|
13704
|
+
"text": "export interface UsingsProps "
|
|
13492
13705
|
}
|
|
13493
13706
|
],
|
|
13494
|
-
"fileUrlPath": "src/components/
|
|
13707
|
+
"fileUrlPath": "src/components/using/using.tsx",
|
|
13495
13708
|
"releaseTag": "Public",
|
|
13496
|
-
"name": "
|
|
13709
|
+
"name": "UsingsProps",
|
|
13497
13710
|
"preserveMemberOrder": false,
|
|
13498
13711
|
"members": [
|
|
13499
13712
|
{
|
|
13500
13713
|
"kind": "PropertySignature",
|
|
13501
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
13714
|
+
"canonicalReference": "@alloy-js/csharp!UsingsProps#namespaces:member",
|
|
13502
13715
|
"docComment": "/**\n * Namespace symbols or namespace names to use to generate using statements.\n */\n",
|
|
13503
13716
|
"excerptTokens": [
|
|
13504
13717
|
{
|
|
13505
13718
|
"kind": "Content",
|
|
13506
|
-
"text": "namespaces
|
|
13719
|
+
"text": "namespaces: "
|
|
13507
13720
|
},
|
|
13508
13721
|
{
|
|
13509
13722
|
"kind": "Content",
|
|
@@ -13524,7 +13737,7 @@
|
|
|
13524
13737
|
}
|
|
13525
13738
|
],
|
|
13526
13739
|
"isReadonly": false,
|
|
13527
|
-
"isOptional":
|
|
13740
|
+
"isOptional": false,
|
|
13528
13741
|
"releaseTag": "Public",
|
|
13529
13742
|
"name": "namespaces",
|
|
13530
13743
|
"propertyTypeTokenRange": {
|
|
@@ -13658,7 +13871,12 @@
|
|
|
13658
13871
|
},
|
|
13659
13872
|
{
|
|
13660
13873
|
"kind": "Content",
|
|
13661
|
-
"text": "string"
|
|
13874
|
+
"text": "string | "
|
|
13875
|
+
},
|
|
13876
|
+
{
|
|
13877
|
+
"kind": "Reference",
|
|
13878
|
+
"text": "Namekey",
|
|
13879
|
+
"canonicalReference": "@alloy-js/core!Namekey:interface"
|
|
13662
13880
|
},
|
|
13663
13881
|
{
|
|
13664
13882
|
"kind": "Content",
|
|
@@ -13671,7 +13889,7 @@
|
|
|
13671
13889
|
"name": "name",
|
|
13672
13890
|
"propertyTypeTokenRange": {
|
|
13673
13891
|
"startIndex": 1,
|
|
13674
|
-
"endIndex":
|
|
13892
|
+
"endIndex": 3
|
|
13675
13893
|
}
|
|
13676
13894
|
},
|
|
13677
13895
|
{
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as core from "@alloy-js/core";
|
|
2
|
-
import { NamespaceSymbol } from "../symbols/namespace.js";
|
|
3
|
-
export interface UsingDirectiveProps {
|
|
4
|
-
/**
|
|
5
|
-
* Namespace symbols or namespace names to use to generate using statements.
|
|
6
|
-
*/
|
|
7
|
-
namespaces?: (NamespaceSymbol | string)[];
|
|
8
|
-
}
|
|
9
|
-
export declare function UsingDirective(props: UsingDirectiveProps): core.Children;
|
|
10
|
-
//# sourceMappingURL=UsingDirective.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UsingDirective.d.ts","sourceRoot":"","sources":["../../../src/components/UsingDirective.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,eAAe,GAAG,MAAM,CAAC,EAAE,CAAC;CAC3C;AAGD,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,iBAgBxD"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { createComponent as _$createComponent } from "@alloy-js/core/jsx-runtime";
|
|
2
|
-
import * as core from "@alloy-js/core";
|
|
3
|
-
// one ore more C# using directives
|
|
4
|
-
export function UsingDirective(props) {
|
|
5
|
-
const sortedNamespaces = core.computed(() => {
|
|
6
|
-
return props.namespaces.map(ns => typeof ns === "string" ? ns : ns.getFullyQualifiedName({
|
|
7
|
-
omitGlobal: true
|
|
8
|
-
})).sort((n1, n2) => n1.localeCompare(n2));
|
|
9
|
-
});
|
|
10
|
-
return _$createComponent(core.For, {
|
|
11
|
-
each: sortedNamespaces,
|
|
12
|
-
children: namespace => `using ${namespace};`
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=UsingDirective.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["core","UsingDirective","props","sortedNamespaces","computed","namespaces","map","ns","getFullyQualifiedName","omitGlobal","sort","n1","n2","localeCompare","_$createComponent","For","each","children","namespace"],"sources":["../../../src/components/UsingDirective.tsx"],"sourcesContent":[null],"mappings":";AAAA,OAAO,KAAKA,IAAI,MAAM,gBAAgB;AAUtC;AACA,OAAO,SAASC,cAAcA,CAACC,KAA0B,EAAE;EACzD,MAAMC,gBAAgB,GAAGH,IAAI,CAACI,QAAQ,CAAC,MAAM;IAC3C,OAAOF,KAAK,CACTG,UAAU,CAAEC,GAAG,CAAEC,EAAE,IAClB,OAAOA,EAAE,KAAK,QAAQ,GAAGA,EAAE,GACzBA,EAAE,CAACC,qBAAqB,CAAC;MAAEC,UAAU,EAAE;IAAK,CAAC,CAEjD,CAAC,CACAC,IAAI,CAAC,CAACC,EAAE,EAAEC,EAAE,KAAKD,EAAE,CAACE,aAAa,CAACD,EAAE,CAAC,CAAC;EAC3C,CAAC,CAAC;EAEF,OAAAE,iBAAA,CACGd,IAAI,CAACe,GAAG;IAACC,IAAI,EAAEb,gBAAgB;IAAAc,QAAA,EAC5BC,SAAS,IAAK,SAASA,SAAS;EAAG;AAG3C","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"using.test.d.ts","sourceRoot":"","sources":["../../test/using.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["core","coretest","expect","it","csharp","findFile","res","render","_$createComponent","Output","children","Namespace","name","SourceFile","path","using","contents","toBe","d","inputTypeRefkey","refkey","outputTypeRefkey","twoValRefkey","params","type","namePolicy","createCSharpNamePolicy","ClassDeclaration","_$createIntrinsic","EnumDeclaration","EnumMember","Method","parameters","returns","toRenderTo"],"sources":["../../test/using.test.tsx"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as core from "@alloy-js/core";
|
|
2
|
-
import { NamespaceSymbol } from "../symbols/namespace.js";
|
|
3
|
-
|
|
4
|
-
export interface UsingDirectiveProps {
|
|
5
|
-
/**
|
|
6
|
-
* Namespace symbols or namespace names to use to generate using statements.
|
|
7
|
-
*/
|
|
8
|
-
namespaces?: (NamespaceSymbol | string)[];
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// one ore more C# using directives
|
|
12
|
-
export function UsingDirective(props: UsingDirectiveProps) {
|
|
13
|
-
const sortedNamespaces = core.computed(() => {
|
|
14
|
-
return props
|
|
15
|
-
.namespaces!.map((ns) =>
|
|
16
|
-
typeof ns === "string" ? ns : (
|
|
17
|
-
ns.getFullyQualifiedName({ omitGlobal: true })
|
|
18
|
-
),
|
|
19
|
-
)
|
|
20
|
-
.sort((n1, n2) => n1.localeCompare(n2));
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
return (
|
|
24
|
-
<core.For each={sortedNamespaces}>
|
|
25
|
-
{(namespace) => `using ${namespace};`}
|
|
26
|
-
</core.For>
|
|
27
|
-
);
|
|
28
|
-
}
|