@alloy-js/csharp 0.18.0-dev.10 → 0.18.0-dev.12

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/temp/api.json CHANGED
@@ -631,6 +631,34 @@
631
631
  "name": "ClassDeclarationProps",
632
632
  "preserveMemberOrder": false,
633
633
  "members": [
634
+ {
635
+ "kind": "PropertySignature",
636
+ "canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#baseType:member",
637
+ "docComment": "/**\n * Base class that this class extends\n */\n",
638
+ "excerptTokens": [
639
+ {
640
+ "kind": "Content",
641
+ "text": "baseType?: "
642
+ },
643
+ {
644
+ "kind": "Reference",
645
+ "text": "core.Children",
646
+ "canonicalReference": "@alloy-js/core!Children:type"
647
+ },
648
+ {
649
+ "kind": "Content",
650
+ "text": ";"
651
+ }
652
+ ],
653
+ "isReadonly": false,
654
+ "isOptional": true,
655
+ "releaseTag": "Public",
656
+ "name": "baseType",
657
+ "propertyTypeTokenRange": {
658
+ "startIndex": 1,
659
+ "endIndex": 2
660
+ }
661
+ },
634
662
  {
635
663
  "kind": "PropertySignature",
636
664
  "canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#doc:member",
@@ -659,6 +687,38 @@
659
687
  "endIndex": 2
660
688
  }
661
689
  },
690
+ {
691
+ "kind": "PropertySignature",
692
+ "canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#interfaceTypes:member",
693
+ "docComment": "/**\n * Interfaces this class implements\n */\n",
694
+ "excerptTokens": [
695
+ {
696
+ "kind": "Content",
697
+ "text": "interfaceTypes?: "
698
+ },
699
+ {
700
+ "kind": "Reference",
701
+ "text": "core.Children",
702
+ "canonicalReference": "@alloy-js/core!Children:type"
703
+ },
704
+ {
705
+ "kind": "Content",
706
+ "text": "[]"
707
+ },
708
+ {
709
+ "kind": "Content",
710
+ "text": ";"
711
+ }
712
+ ],
713
+ "isReadonly": false,
714
+ "isOptional": true,
715
+ "releaseTag": "Public",
716
+ "name": "interfaceTypes",
717
+ "propertyTypeTokenRange": {
718
+ "startIndex": 1,
719
+ "endIndex": 3
720
+ }
721
+ },
662
722
  {
663
723
  "kind": "PropertySignature",
664
724
  "canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#name:member",
@@ -1514,159 +1574,78 @@
1514
1574
  },
1515
1575
  {
1516
1576
  "kind": "Function",
1517
- "canonicalReference": "@alloy-js/csharp!computeModifiersPrefix:function(1)",
1518
- "docComment": "/**\n * Resolve the modifier prefix\n */\n",
1577
+ "canonicalReference": "@alloy-js/csharp!ClassProperty:function(1)",
1578
+ "docComment": "/**\n * Render a C# class property.\n *\n * @example\n *\n * `<ClassProperty public name=\"My\" get set />`\n *\n * ```cs\n * public int My { get; set; };\n * ```\n *\n */\n",
1519
1579
  "excerptTokens": [
1520
1580
  {
1521
1581
  "kind": "Content",
1522
- "text": "export declare function computeModifiersPrefix(modifiers: "
1582
+ "text": "export declare function ClassProperty(props: "
1523
1583
  },
1524
1584
  {
1525
1585
  "kind": "Reference",
1526
- "text": "Array",
1527
- "canonicalReference": "!Array:interface"
1528
- },
1529
- {
1530
- "kind": "Content",
1531
- "text": "<string | undefined>"
1586
+ "text": "ClassPropertyProps",
1587
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps:interface"
1532
1588
  },
1533
1589
  {
1534
1590
  "kind": "Content",
1535
1591
  "text": "): "
1536
1592
  },
1537
1593
  {
1538
- "kind": "Content",
1539
- "text": "string"
1594
+ "kind": "Reference",
1595
+ "text": "Children",
1596
+ "canonicalReference": "@alloy-js/core!Children:type"
1540
1597
  },
1541
1598
  {
1542
1599
  "kind": "Content",
1543
1600
  "text": ";"
1544
1601
  }
1545
1602
  ],
1546
- "fileUrlPath": "src/modifiers.ts",
1603
+ "fileUrlPath": "src/components/class/property.tsx",
1547
1604
  "returnTypeTokenRange": {
1548
- "startIndex": 4,
1549
- "endIndex": 5
1605
+ "startIndex": 3,
1606
+ "endIndex": 4
1550
1607
  },
1551
1608
  "releaseTag": "Public",
1552
1609
  "overloadIndex": 1,
1553
1610
  "parameters": [
1554
1611
  {
1555
- "parameterName": "modifiers",
1612
+ "parameterName": "props",
1556
1613
  "parameterTypeTokenRange": {
1557
1614
  "startIndex": 1,
1558
- "endIndex": 3
1615
+ "endIndex": 2
1559
1616
  },
1560
1617
  "isOptional": false
1561
1618
  }
1562
1619
  ],
1563
- "name": "computeModifiersPrefix"
1564
- },
1565
- {
1566
- "kind": "Function",
1567
- "canonicalReference": "@alloy-js/csharp!createCSharpNamePolicy:function(1)",
1568
- "docComment": "",
1569
- "excerptTokens": [
1570
- {
1571
- "kind": "Content",
1572
- "text": "export declare function createCSharpNamePolicy(): "
1573
- },
1574
- {
1575
- "kind": "Reference",
1576
- "text": "core.NamePolicy",
1577
- "canonicalReference": "@alloy-js/core!NamePolicy:interface"
1578
- },
1579
- {
1580
- "kind": "Content",
1581
- "text": "<"
1582
- },
1583
- {
1584
- "kind": "Reference",
1585
- "text": "CSharpElements",
1586
- "canonicalReference": "@alloy-js/csharp!CSharpElements:type"
1587
- },
1588
- {
1589
- "kind": "Content",
1590
- "text": ">"
1591
- },
1592
- {
1593
- "kind": "Content",
1594
- "text": ";"
1595
- }
1596
- ],
1597
- "fileUrlPath": "src/name-policy.ts",
1598
- "returnTypeTokenRange": {
1599
- "startIndex": 1,
1600
- "endIndex": 5
1601
- },
1602
- "releaseTag": "Public",
1603
- "overloadIndex": 1,
1604
- "parameters": [],
1605
- "name": "createCSharpNamePolicy"
1606
- },
1607
- {
1608
- "kind": "TypeAlias",
1609
- "canonicalReference": "@alloy-js/csharp!CSharpElements:type",
1610
- "docComment": "",
1611
- "excerptTokens": [
1612
- {
1613
- "kind": "Content",
1614
- "text": "export type CSharpElements = "
1615
- },
1616
- {
1617
- "kind": "Content",
1618
- "text": "\"class\" | \"constant\" | \"enum\" | \"enum-member\" | \"function\" | \"interface\" | \"class-member-private\" | \"class-member-public\" | \"class-method\" | \"class-property\" | \"parameter\" | \"type-parameter\""
1619
- },
1620
- {
1621
- "kind": "Content",
1622
- "text": ";"
1623
- }
1624
- ],
1625
- "fileUrlPath": "src/name-policy.ts",
1626
- "releaseTag": "Public",
1627
- "name": "CSharpElements",
1628
- "typeTokenRange": {
1629
- "startIndex": 1,
1630
- "endIndex": 2
1631
- }
1620
+ "name": "ClassProperty"
1632
1621
  },
1633
1622
  {
1634
- "kind": "Class",
1635
- "canonicalReference": "@alloy-js/csharp!CSharpMemberScope:class",
1636
- "docComment": "",
1623
+ "kind": "Interface",
1624
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers:interface",
1625
+ "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
1637
1626
  "excerptTokens": [
1638
1627
  {
1639
1628
  "kind": "Content",
1640
- "text": "export declare class CSharpMemberScope extends "
1641
- },
1642
- {
1643
- "kind": "Reference",
1644
- "text": "core.OutputScope",
1645
- "canonicalReference": "@alloy-js/core!OutputScope:class"
1646
- },
1647
- {
1648
- "kind": "Content",
1649
- "text": " "
1629
+ "text": "export interface ClassPropertyModifiers "
1650
1630
  }
1651
1631
  ],
1652
- "fileUrlPath": "src/symbols/scopes.ts",
1632
+ "fileUrlPath": "src/components/class/property.tsx",
1653
1633
  "releaseTag": "Public",
1654
- "isAbstract": false,
1655
- "name": "CSharpMemberScope",
1634
+ "name": "ClassPropertyModifiers",
1656
1635
  "preserveMemberOrder": false,
1657
1636
  "members": [
1658
1637
  {
1659
- "kind": "Property",
1660
- "canonicalReference": "@alloy-js/csharp!CSharpMemberScope#kind:member",
1638
+ "kind": "PropertySignature",
1639
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#abstract:member",
1661
1640
  "docComment": "",
1662
1641
  "excerptTokens": [
1663
1642
  {
1664
1643
  "kind": "Content",
1665
- "text": "get kind(): "
1644
+ "text": "readonly abstract?: "
1666
1645
  },
1667
1646
  {
1668
1647
  "kind": "Content",
1669
- "text": "string"
1648
+ "text": "boolean"
1670
1649
  },
1671
1650
  {
1672
1651
  "kind": "Content",
@@ -1674,30 +1653,26 @@
1674
1653
  }
1675
1654
  ],
1676
1655
  "isReadonly": true,
1677
- "isOptional": false,
1656
+ "isOptional": true,
1678
1657
  "releaseTag": "Public",
1679
- "name": "kind",
1658
+ "name": "abstract",
1680
1659
  "propertyTypeTokenRange": {
1681
1660
  "startIndex": 1,
1682
1661
  "endIndex": 2
1683
- },
1684
- "isStatic": false,
1685
- "isProtected": false,
1686
- "isAbstract": false
1662
+ }
1687
1663
  },
1688
1664
  {
1689
- "kind": "Property",
1690
- "canonicalReference": "@alloy-js/csharp!CSharpMemberScope#name:member",
1665
+ "kind": "PropertySignature",
1666
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#extern:member",
1691
1667
  "docComment": "",
1692
1668
  "excerptTokens": [
1693
1669
  {
1694
1670
  "kind": "Content",
1695
- "text": "get name(): "
1671
+ "text": "readonly extern?: "
1696
1672
  },
1697
1673
  {
1698
- "kind": "Reference",
1699
- "text": "CSharpMemberScopeName",
1700
- "canonicalReference": "@alloy-js/csharp!CSharpMemberScopeName:type"
1674
+ "kind": "Content",
1675
+ "text": "boolean"
1701
1676
  },
1702
1677
  {
1703
1678
  "kind": "Content",
@@ -1705,30 +1680,26 @@
1705
1680
  }
1706
1681
  ],
1707
1682
  "isReadonly": true,
1708
- "isOptional": false,
1683
+ "isOptional": true,
1709
1684
  "releaseTag": "Public",
1710
- "name": "name",
1685
+ "name": "extern",
1711
1686
  "propertyTypeTokenRange": {
1712
1687
  "startIndex": 1,
1713
1688
  "endIndex": 2
1714
- },
1715
- "isStatic": false,
1716
- "isProtected": false,
1717
- "isAbstract": false
1689
+ }
1718
1690
  },
1719
1691
  {
1720
- "kind": "Property",
1721
- "canonicalReference": "@alloy-js/csharp!CSharpMemberScope#owner:member",
1692
+ "kind": "PropertySignature",
1693
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#new:member",
1722
1694
  "docComment": "",
1723
1695
  "excerptTokens": [
1724
1696
  {
1725
1697
  "kind": "Content",
1726
- "text": "get owner(): "
1698
+ "text": "readonly new?: "
1727
1699
  },
1728
1700
  {
1729
- "kind": "Reference",
1730
- "text": "CSharpOutputSymbol",
1731
- "canonicalReference": "@alloy-js/csharp!CSharpOutputSymbol:class"
1701
+ "kind": "Content",
1702
+ "text": "boolean"
1732
1703
  },
1733
1704
  {
1734
1705
  "kind": "Content",
@@ -1736,40 +1707,675 @@
1736
1707
  }
1737
1708
  ],
1738
1709
  "isReadonly": true,
1739
- "isOptional": false,
1710
+ "isOptional": true,
1740
1711
  "releaseTag": "Public",
1741
- "name": "owner",
1712
+ "name": "new",
1742
1713
  "propertyTypeTokenRange": {
1743
1714
  "startIndex": 1,
1744
1715
  "endIndex": 2
1745
- },
1746
- "isStatic": false,
1747
- "isProtected": false,
1748
- "isAbstract": false
1749
- }
1750
- ],
1751
- "extendsTokenRange": {
1752
- "startIndex": 1,
1753
- "endIndex": 2
1754
- },
1755
- "implementsTokenRanges": []
1756
- },
1757
- {
1758
- "kind": "TypeAlias",
1759
- "canonicalReference": "@alloy-js/csharp!CSharpMemberScopeName:type",
1760
- "docComment": "",
1761
- "excerptTokens": [
1762
- {
1763
- "kind": "Content",
1764
- "text": "export type CSharpMemberScopeName = "
1716
+ }
1765
1717
  },
1766
1718
  {
1767
- "kind": "Content",
1768
- "text": "\"class-decl\" | \"constructor-decl\" | \"enum-decl\" | \"method-decl\""
1719
+ "kind": "PropertySignature",
1720
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#override:member",
1721
+ "docComment": "",
1722
+ "excerptTokens": [
1723
+ {
1724
+ "kind": "Content",
1725
+ "text": "readonly override?: "
1726
+ },
1727
+ {
1728
+ "kind": "Content",
1729
+ "text": "boolean"
1730
+ },
1731
+ {
1732
+ "kind": "Content",
1733
+ "text": ";"
1734
+ }
1735
+ ],
1736
+ "isReadonly": true,
1737
+ "isOptional": true,
1738
+ "releaseTag": "Public",
1739
+ "name": "override",
1740
+ "propertyTypeTokenRange": {
1741
+ "startIndex": 1,
1742
+ "endIndex": 2
1743
+ }
1769
1744
  },
1770
1745
  {
1771
- "kind": "Content",
1772
- "text": ";"
1746
+ "kind": "PropertySignature",
1747
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#readonly:member",
1748
+ "docComment": "",
1749
+ "excerptTokens": [
1750
+ {
1751
+ "kind": "Content",
1752
+ "text": "readonly readonly?: "
1753
+ },
1754
+ {
1755
+ "kind": "Content",
1756
+ "text": "boolean"
1757
+ },
1758
+ {
1759
+ "kind": "Content",
1760
+ "text": ";"
1761
+ }
1762
+ ],
1763
+ "isReadonly": true,
1764
+ "isOptional": true,
1765
+ "releaseTag": "Public",
1766
+ "name": "readonly",
1767
+ "propertyTypeTokenRange": {
1768
+ "startIndex": 1,
1769
+ "endIndex": 2
1770
+ }
1771
+ },
1772
+ {
1773
+ "kind": "PropertySignature",
1774
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#sealed:member",
1775
+ "docComment": "",
1776
+ "excerptTokens": [
1777
+ {
1778
+ "kind": "Content",
1779
+ "text": "readonly sealed?: "
1780
+ },
1781
+ {
1782
+ "kind": "Content",
1783
+ "text": "boolean"
1784
+ },
1785
+ {
1786
+ "kind": "Content",
1787
+ "text": ";"
1788
+ }
1789
+ ],
1790
+ "isReadonly": true,
1791
+ "isOptional": true,
1792
+ "releaseTag": "Public",
1793
+ "name": "sealed",
1794
+ "propertyTypeTokenRange": {
1795
+ "startIndex": 1,
1796
+ "endIndex": 2
1797
+ }
1798
+ },
1799
+ {
1800
+ "kind": "PropertySignature",
1801
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#static:member",
1802
+ "docComment": "",
1803
+ "excerptTokens": [
1804
+ {
1805
+ "kind": "Content",
1806
+ "text": "readonly static?: "
1807
+ },
1808
+ {
1809
+ "kind": "Content",
1810
+ "text": "boolean"
1811
+ },
1812
+ {
1813
+ "kind": "Content",
1814
+ "text": ";"
1815
+ }
1816
+ ],
1817
+ "isReadonly": true,
1818
+ "isOptional": true,
1819
+ "releaseTag": "Public",
1820
+ "name": "static",
1821
+ "propertyTypeTokenRange": {
1822
+ "startIndex": 1,
1823
+ "endIndex": 2
1824
+ }
1825
+ },
1826
+ {
1827
+ "kind": "PropertySignature",
1828
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#virtual:member",
1829
+ "docComment": "",
1830
+ "excerptTokens": [
1831
+ {
1832
+ "kind": "Content",
1833
+ "text": "readonly virtual?: "
1834
+ },
1835
+ {
1836
+ "kind": "Content",
1837
+ "text": "boolean"
1838
+ },
1839
+ {
1840
+ "kind": "Content",
1841
+ "text": ";"
1842
+ }
1843
+ ],
1844
+ "isReadonly": true,
1845
+ "isOptional": true,
1846
+ "releaseTag": "Public",
1847
+ "name": "virtual",
1848
+ "propertyTypeTokenRange": {
1849
+ "startIndex": 1,
1850
+ "endIndex": 2
1851
+ }
1852
+ }
1853
+ ],
1854
+ "extendsTokenRanges": []
1855
+ },
1856
+ {
1857
+ "kind": "Interface",
1858
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps:interface",
1859
+ "docComment": "/**\n * Properties for {@link ClassProperty} component\n */\n",
1860
+ "excerptTokens": [
1861
+ {
1862
+ "kind": "Content",
1863
+ "text": "export interface ClassPropertyProps extends "
1864
+ },
1865
+ {
1866
+ "kind": "Reference",
1867
+ "text": "AccessModifiers",
1868
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
1869
+ },
1870
+ {
1871
+ "kind": "Content",
1872
+ "text": ", "
1873
+ },
1874
+ {
1875
+ "kind": "Reference",
1876
+ "text": "ClassPropertyModifiers",
1877
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers:interface"
1878
+ },
1879
+ {
1880
+ "kind": "Content",
1881
+ "text": " "
1882
+ }
1883
+ ],
1884
+ "fileUrlPath": "src/components/class/property.tsx",
1885
+ "releaseTag": "Public",
1886
+ "name": "ClassPropertyProps",
1887
+ "preserveMemberOrder": false,
1888
+ "members": [
1889
+ {
1890
+ "kind": "PropertySignature",
1891
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#doc:member",
1892
+ "docComment": "/**\n * Doc comment\n */\n",
1893
+ "excerptTokens": [
1894
+ {
1895
+ "kind": "Content",
1896
+ "text": "doc?: "
1897
+ },
1898
+ {
1899
+ "kind": "Reference",
1900
+ "text": "Children",
1901
+ "canonicalReference": "@alloy-js/core!Children:type"
1902
+ },
1903
+ {
1904
+ "kind": "Content",
1905
+ "text": ";"
1906
+ }
1907
+ ],
1908
+ "isReadonly": false,
1909
+ "isOptional": true,
1910
+ "releaseTag": "Public",
1911
+ "name": "doc",
1912
+ "propertyTypeTokenRange": {
1913
+ "startIndex": 1,
1914
+ "endIndex": 2
1915
+ }
1916
+ },
1917
+ {
1918
+ "kind": "PropertySignature",
1919
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#get:member",
1920
+ "docComment": "/**\n * If property should have a getter\n */\n",
1921
+ "excerptTokens": [
1922
+ {
1923
+ "kind": "Content",
1924
+ "text": "get?: "
1925
+ },
1926
+ {
1927
+ "kind": "Content",
1928
+ "text": "boolean"
1929
+ },
1930
+ {
1931
+ "kind": "Content",
1932
+ "text": ";"
1933
+ }
1934
+ ],
1935
+ "isReadonly": false,
1936
+ "isOptional": true,
1937
+ "releaseTag": "Public",
1938
+ "name": "get",
1939
+ "propertyTypeTokenRange": {
1940
+ "startIndex": 1,
1941
+ "endIndex": 2
1942
+ }
1943
+ },
1944
+ {
1945
+ "kind": "PropertySignature",
1946
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#init:member",
1947
+ "docComment": "/**\n * Property initializer\n *\n * @example\n *\n * `<ClassProperty name=\"My\" get set init={42} />`\n *\n * ```cs\n * int My { get; set; } = 42;\n * ```\n *\n */\n",
1948
+ "excerptTokens": [
1949
+ {
1950
+ "kind": "Content",
1951
+ "text": "init?: "
1952
+ },
1953
+ {
1954
+ "kind": "Reference",
1955
+ "text": "Children",
1956
+ "canonicalReference": "@alloy-js/core!Children:type"
1957
+ },
1958
+ {
1959
+ "kind": "Content",
1960
+ "text": ";"
1961
+ }
1962
+ ],
1963
+ "isReadonly": false,
1964
+ "isOptional": true,
1965
+ "releaseTag": "Public",
1966
+ "name": "init",
1967
+ "propertyTypeTokenRange": {
1968
+ "startIndex": 1,
1969
+ "endIndex": 2
1970
+ }
1971
+ },
1972
+ {
1973
+ "kind": "PropertySignature",
1974
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#name:member",
1975
+ "docComment": "",
1976
+ "excerptTokens": [
1977
+ {
1978
+ "kind": "Content",
1979
+ "text": "name: "
1980
+ },
1981
+ {
1982
+ "kind": "Content",
1983
+ "text": "string"
1984
+ },
1985
+ {
1986
+ "kind": "Content",
1987
+ "text": ";"
1988
+ }
1989
+ ],
1990
+ "isReadonly": false,
1991
+ "isOptional": false,
1992
+ "releaseTag": "Public",
1993
+ "name": "name",
1994
+ "propertyTypeTokenRange": {
1995
+ "startIndex": 1,
1996
+ "endIndex": 2
1997
+ }
1998
+ },
1999
+ {
2000
+ "kind": "PropertySignature",
2001
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#nullable:member",
2002
+ "docComment": "/**\n * Property initializer\n *\n * @example\n *\n * `<ClassProperty name=\"My\" get set nullable />`\n *\n * ```cs\n * int? My { get; set; };\n * ```\n *\n */\n",
2003
+ "excerptTokens": [
2004
+ {
2005
+ "kind": "Content",
2006
+ "text": "nullable?: "
2007
+ },
2008
+ {
2009
+ "kind": "Content",
2010
+ "text": "boolean"
2011
+ },
2012
+ {
2013
+ "kind": "Content",
2014
+ "text": ";"
2015
+ }
2016
+ ],
2017
+ "isReadonly": false,
2018
+ "isOptional": true,
2019
+ "releaseTag": "Public",
2020
+ "name": "nullable",
2021
+ "propertyTypeTokenRange": {
2022
+ "startIndex": 1,
2023
+ "endIndex": 2
2024
+ }
2025
+ },
2026
+ {
2027
+ "kind": "PropertySignature",
2028
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#refkey:member",
2029
+ "docComment": "",
2030
+ "excerptTokens": [
2031
+ {
2032
+ "kind": "Content",
2033
+ "text": "refkey?: "
2034
+ },
2035
+ {
2036
+ "kind": "Reference",
2037
+ "text": "Refkey",
2038
+ "canonicalReference": "@alloy-js/core!Refkey:type"
2039
+ },
2040
+ {
2041
+ "kind": "Content",
2042
+ "text": ";"
2043
+ }
2044
+ ],
2045
+ "isReadonly": false,
2046
+ "isOptional": true,
2047
+ "releaseTag": "Public",
2048
+ "name": "refkey",
2049
+ "propertyTypeTokenRange": {
2050
+ "startIndex": 1,
2051
+ "endIndex": 2
2052
+ }
2053
+ },
2054
+ {
2055
+ "kind": "PropertySignature",
2056
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#set:member",
2057
+ "docComment": "/**\n * If property should have a setter\n */\n",
2058
+ "excerptTokens": [
2059
+ {
2060
+ "kind": "Content",
2061
+ "text": "set?: "
2062
+ },
2063
+ {
2064
+ "kind": "Content",
2065
+ "text": "boolean"
2066
+ },
2067
+ {
2068
+ "kind": "Content",
2069
+ "text": ";"
2070
+ }
2071
+ ],
2072
+ "isReadonly": false,
2073
+ "isOptional": true,
2074
+ "releaseTag": "Public",
2075
+ "name": "set",
2076
+ "propertyTypeTokenRange": {
2077
+ "startIndex": 1,
2078
+ "endIndex": 2
2079
+ }
2080
+ },
2081
+ {
2082
+ "kind": "PropertySignature",
2083
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#type:member",
2084
+ "docComment": "/**\n * Property type\n */\n",
2085
+ "excerptTokens": [
2086
+ {
2087
+ "kind": "Content",
2088
+ "text": "type: "
2089
+ },
2090
+ {
2091
+ "kind": "Reference",
2092
+ "text": "Children",
2093
+ "canonicalReference": "@alloy-js/core!Children:type"
2094
+ },
2095
+ {
2096
+ "kind": "Content",
2097
+ "text": ";"
2098
+ }
2099
+ ],
2100
+ "isReadonly": false,
2101
+ "isOptional": false,
2102
+ "releaseTag": "Public",
2103
+ "name": "type",
2104
+ "propertyTypeTokenRange": {
2105
+ "startIndex": 1,
2106
+ "endIndex": 2
2107
+ }
2108
+ }
2109
+ ],
2110
+ "extendsTokenRanges": [
2111
+ {
2112
+ "startIndex": 1,
2113
+ "endIndex": 2
2114
+ },
2115
+ {
2116
+ "startIndex": 3,
2117
+ "endIndex": 4
2118
+ }
2119
+ ]
2120
+ },
2121
+ {
2122
+ "kind": "Function",
2123
+ "canonicalReference": "@alloy-js/csharp!computeModifiersPrefix:function(1)",
2124
+ "docComment": "/**\n * Resolve the modifier prefix\n */\n",
2125
+ "excerptTokens": [
2126
+ {
2127
+ "kind": "Content",
2128
+ "text": "export declare function computeModifiersPrefix(modifiers: "
2129
+ },
2130
+ {
2131
+ "kind": "Reference",
2132
+ "text": "Array",
2133
+ "canonicalReference": "!Array:interface"
2134
+ },
2135
+ {
2136
+ "kind": "Content",
2137
+ "text": "<string | undefined>"
2138
+ },
2139
+ {
2140
+ "kind": "Content",
2141
+ "text": "): "
2142
+ },
2143
+ {
2144
+ "kind": "Content",
2145
+ "text": "string"
2146
+ },
2147
+ {
2148
+ "kind": "Content",
2149
+ "text": ";"
2150
+ }
2151
+ ],
2152
+ "fileUrlPath": "src/modifiers.ts",
2153
+ "returnTypeTokenRange": {
2154
+ "startIndex": 4,
2155
+ "endIndex": 5
2156
+ },
2157
+ "releaseTag": "Public",
2158
+ "overloadIndex": 1,
2159
+ "parameters": [
2160
+ {
2161
+ "parameterName": "modifiers",
2162
+ "parameterTypeTokenRange": {
2163
+ "startIndex": 1,
2164
+ "endIndex": 3
2165
+ },
2166
+ "isOptional": false
2167
+ }
2168
+ ],
2169
+ "name": "computeModifiersPrefix"
2170
+ },
2171
+ {
2172
+ "kind": "Function",
2173
+ "canonicalReference": "@alloy-js/csharp!createCSharpNamePolicy:function(1)",
2174
+ "docComment": "",
2175
+ "excerptTokens": [
2176
+ {
2177
+ "kind": "Content",
2178
+ "text": "export declare function createCSharpNamePolicy(): "
2179
+ },
2180
+ {
2181
+ "kind": "Reference",
2182
+ "text": "core.NamePolicy",
2183
+ "canonicalReference": "@alloy-js/core!NamePolicy:interface"
2184
+ },
2185
+ {
2186
+ "kind": "Content",
2187
+ "text": "<"
2188
+ },
2189
+ {
2190
+ "kind": "Reference",
2191
+ "text": "CSharpElements",
2192
+ "canonicalReference": "@alloy-js/csharp!CSharpElements:type"
2193
+ },
2194
+ {
2195
+ "kind": "Content",
2196
+ "text": ">"
2197
+ },
2198
+ {
2199
+ "kind": "Content",
2200
+ "text": ";"
2201
+ }
2202
+ ],
2203
+ "fileUrlPath": "src/name-policy.ts",
2204
+ "returnTypeTokenRange": {
2205
+ "startIndex": 1,
2206
+ "endIndex": 5
2207
+ },
2208
+ "releaseTag": "Public",
2209
+ "overloadIndex": 1,
2210
+ "parameters": [],
2211
+ "name": "createCSharpNamePolicy"
2212
+ },
2213
+ {
2214
+ "kind": "TypeAlias",
2215
+ "canonicalReference": "@alloy-js/csharp!CSharpElements:type",
2216
+ "docComment": "",
2217
+ "excerptTokens": [
2218
+ {
2219
+ "kind": "Content",
2220
+ "text": "export type CSharpElements = "
2221
+ },
2222
+ {
2223
+ "kind": "Content",
2224
+ "text": "\"class\" | \"constant\" | \"enum\" | \"enum-member\" | \"function\" | \"interface\" | \"class-member-private\" | \"class-member-public\" | \"class-method\" | \"class-property\" | \"parameter\" | \"type-parameter\""
2225
+ },
2226
+ {
2227
+ "kind": "Content",
2228
+ "text": ";"
2229
+ }
2230
+ ],
2231
+ "fileUrlPath": "src/name-policy.ts",
2232
+ "releaseTag": "Public",
2233
+ "name": "CSharpElements",
2234
+ "typeTokenRange": {
2235
+ "startIndex": 1,
2236
+ "endIndex": 2
2237
+ }
2238
+ },
2239
+ {
2240
+ "kind": "Class",
2241
+ "canonicalReference": "@alloy-js/csharp!CSharpMemberScope:class",
2242
+ "docComment": "",
2243
+ "excerptTokens": [
2244
+ {
2245
+ "kind": "Content",
2246
+ "text": "export declare class CSharpMemberScope extends "
2247
+ },
2248
+ {
2249
+ "kind": "Reference",
2250
+ "text": "core.OutputScope",
2251
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
2252
+ },
2253
+ {
2254
+ "kind": "Content",
2255
+ "text": " "
2256
+ }
2257
+ ],
2258
+ "fileUrlPath": "src/symbols/scopes.ts",
2259
+ "releaseTag": "Public",
2260
+ "isAbstract": false,
2261
+ "name": "CSharpMemberScope",
2262
+ "preserveMemberOrder": false,
2263
+ "members": [
2264
+ {
2265
+ "kind": "Property",
2266
+ "canonicalReference": "@alloy-js/csharp!CSharpMemberScope#kind:member",
2267
+ "docComment": "",
2268
+ "excerptTokens": [
2269
+ {
2270
+ "kind": "Content",
2271
+ "text": "get kind(): "
2272
+ },
2273
+ {
2274
+ "kind": "Content",
2275
+ "text": "string"
2276
+ },
2277
+ {
2278
+ "kind": "Content",
2279
+ "text": ";"
2280
+ }
2281
+ ],
2282
+ "isReadonly": true,
2283
+ "isOptional": false,
2284
+ "releaseTag": "Public",
2285
+ "name": "kind",
2286
+ "propertyTypeTokenRange": {
2287
+ "startIndex": 1,
2288
+ "endIndex": 2
2289
+ },
2290
+ "isStatic": false,
2291
+ "isProtected": false,
2292
+ "isAbstract": false
2293
+ },
2294
+ {
2295
+ "kind": "Property",
2296
+ "canonicalReference": "@alloy-js/csharp!CSharpMemberScope#name:member",
2297
+ "docComment": "",
2298
+ "excerptTokens": [
2299
+ {
2300
+ "kind": "Content",
2301
+ "text": "get name(): "
2302
+ },
2303
+ {
2304
+ "kind": "Reference",
2305
+ "text": "CSharpMemberScopeName",
2306
+ "canonicalReference": "@alloy-js/csharp!CSharpMemberScopeName:type"
2307
+ },
2308
+ {
2309
+ "kind": "Content",
2310
+ "text": ";"
2311
+ }
2312
+ ],
2313
+ "isReadonly": true,
2314
+ "isOptional": false,
2315
+ "releaseTag": "Public",
2316
+ "name": "name",
2317
+ "propertyTypeTokenRange": {
2318
+ "startIndex": 1,
2319
+ "endIndex": 2
2320
+ },
2321
+ "isStatic": false,
2322
+ "isProtected": false,
2323
+ "isAbstract": false
2324
+ },
2325
+ {
2326
+ "kind": "Property",
2327
+ "canonicalReference": "@alloy-js/csharp!CSharpMemberScope#owner:member",
2328
+ "docComment": "",
2329
+ "excerptTokens": [
2330
+ {
2331
+ "kind": "Content",
2332
+ "text": "get owner(): "
2333
+ },
2334
+ {
2335
+ "kind": "Reference",
2336
+ "text": "CSharpOutputSymbol",
2337
+ "canonicalReference": "@alloy-js/csharp!CSharpOutputSymbol:class"
2338
+ },
2339
+ {
2340
+ "kind": "Content",
2341
+ "text": ";"
2342
+ }
2343
+ ],
2344
+ "isReadonly": true,
2345
+ "isOptional": false,
2346
+ "releaseTag": "Public",
2347
+ "name": "owner",
2348
+ "propertyTypeTokenRange": {
2349
+ "startIndex": 1,
2350
+ "endIndex": 2
2351
+ },
2352
+ "isStatic": false,
2353
+ "isProtected": false,
2354
+ "isAbstract": false
2355
+ }
2356
+ ],
2357
+ "extendsTokenRange": {
2358
+ "startIndex": 1,
2359
+ "endIndex": 2
2360
+ },
2361
+ "implementsTokenRanges": []
2362
+ },
2363
+ {
2364
+ "kind": "TypeAlias",
2365
+ "canonicalReference": "@alloy-js/csharp!CSharpMemberScopeName:type",
2366
+ "docComment": "",
2367
+ "excerptTokens": [
2368
+ {
2369
+ "kind": "Content",
2370
+ "text": "export type CSharpMemberScopeName = "
2371
+ },
2372
+ {
2373
+ "kind": "Content",
2374
+ "text": "\"class-decl\" | \"constructor-decl\" | \"enum-decl\" | \"method-decl\""
2375
+ },
2376
+ {
2377
+ "kind": "Content",
2378
+ "text": ";"
1773
2379
  }
1774
2380
  ],
1775
2381
  "fileUrlPath": "src/symbols/scopes.ts",
@@ -3899,28 +4505,190 @@
3899
4505
  "isReadonly": false,
3900
4506
  "isOptional": false,
3901
4507
  "releaseTag": "Public",
3902
- "name": "doc",
4508
+ "name": "doc",
4509
+ "propertyTypeTokenRange": {
4510
+ "startIndex": 1,
4511
+ "endIndex": 3
4512
+ }
4513
+ }
4514
+ ],
4515
+ "extendsTokenRanges": []
4516
+ },
4517
+ {
4518
+ "kind": "Function",
4519
+ "canonicalReference": "@alloy-js/csharp!EnumDeclaration:function(1)",
4520
+ "docComment": "/**\n * A C# enum declaration\n *\n * @example\n * ```tsx\n * <EnumDeclaration public name=\"Color\">\n * <EnumMember name=\"Red\" />\n * <EnumMember name=\"Green\" />\n * <EnumMember name=\"Blue\" />\n * </EnumDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public enum Color\n * {\n * Red,\n * Green,\n * Blue\n * }\n * ```\n *\n */\n",
4521
+ "excerptTokens": [
4522
+ {
4523
+ "kind": "Content",
4524
+ "text": "export declare function EnumDeclaration(props: "
4525
+ },
4526
+ {
4527
+ "kind": "Reference",
4528
+ "text": "EnumDeclarationProps",
4529
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface"
4530
+ },
4531
+ {
4532
+ "kind": "Content",
4533
+ "text": "): "
4534
+ },
4535
+ {
4536
+ "kind": "Reference",
4537
+ "text": "core.Children",
4538
+ "canonicalReference": "@alloy-js/core!Children:type"
4539
+ },
4540
+ {
4541
+ "kind": "Content",
4542
+ "text": ";"
4543
+ }
4544
+ ],
4545
+ "fileUrlPath": "src/components/EnumDeclaration.tsx",
4546
+ "returnTypeTokenRange": {
4547
+ "startIndex": 3,
4548
+ "endIndex": 4
4549
+ },
4550
+ "releaseTag": "Public",
4551
+ "overloadIndex": 1,
4552
+ "parameters": [
4553
+ {
4554
+ "parameterName": "props",
4555
+ "parameterTypeTokenRange": {
4556
+ "startIndex": 1,
4557
+ "endIndex": 2
4558
+ },
4559
+ "isOptional": false
4560
+ }
4561
+ ],
4562
+ "name": "EnumDeclaration"
4563
+ },
4564
+ {
4565
+ "kind": "Interface",
4566
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface",
4567
+ "docComment": "",
4568
+ "excerptTokens": [
4569
+ {
4570
+ "kind": "Content",
4571
+ "text": "export interface EnumDeclarationProps extends "
4572
+ },
4573
+ {
4574
+ "kind": "Reference",
4575
+ "text": "AccessModifiers",
4576
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
4577
+ },
4578
+ {
4579
+ "kind": "Content",
4580
+ "text": " "
4581
+ }
4582
+ ],
4583
+ "fileUrlPath": "src/components/EnumDeclaration.tsx",
4584
+ "releaseTag": "Public",
4585
+ "name": "EnumDeclarationProps",
4586
+ "preserveMemberOrder": false,
4587
+ "members": [
4588
+ {
4589
+ "kind": "PropertySignature",
4590
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#children:member",
4591
+ "docComment": "",
4592
+ "excerptTokens": [
4593
+ {
4594
+ "kind": "Content",
4595
+ "text": "children?: "
4596
+ },
4597
+ {
4598
+ "kind": "Reference",
4599
+ "text": "core.Children",
4600
+ "canonicalReference": "@alloy-js/core!Children:type"
4601
+ },
4602
+ {
4603
+ "kind": "Content",
4604
+ "text": ";"
4605
+ }
4606
+ ],
4607
+ "isReadonly": false,
4608
+ "isOptional": true,
4609
+ "releaseTag": "Public",
4610
+ "name": "children",
4611
+ "propertyTypeTokenRange": {
4612
+ "startIndex": 1,
4613
+ "endIndex": 2
4614
+ }
4615
+ },
4616
+ {
4617
+ "kind": "PropertySignature",
4618
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#name:member",
4619
+ "docComment": "",
4620
+ "excerptTokens": [
4621
+ {
4622
+ "kind": "Content",
4623
+ "text": "name: "
4624
+ },
4625
+ {
4626
+ "kind": "Content",
4627
+ "text": "string"
4628
+ },
4629
+ {
4630
+ "kind": "Content",
4631
+ "text": ";"
4632
+ }
4633
+ ],
4634
+ "isReadonly": false,
4635
+ "isOptional": false,
4636
+ "releaseTag": "Public",
4637
+ "name": "name",
4638
+ "propertyTypeTokenRange": {
4639
+ "startIndex": 1,
4640
+ "endIndex": 2
4641
+ }
4642
+ },
4643
+ {
4644
+ "kind": "PropertySignature",
4645
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#refkey:member",
4646
+ "docComment": "",
4647
+ "excerptTokens": [
4648
+ {
4649
+ "kind": "Content",
4650
+ "text": "refkey?: "
4651
+ },
4652
+ {
4653
+ "kind": "Reference",
4654
+ "text": "core.Refkey",
4655
+ "canonicalReference": "@alloy-js/core!Refkey:type"
4656
+ },
4657
+ {
4658
+ "kind": "Content",
4659
+ "text": ";"
4660
+ }
4661
+ ],
4662
+ "isReadonly": false,
4663
+ "isOptional": true,
4664
+ "releaseTag": "Public",
4665
+ "name": "refkey",
3903
4666
  "propertyTypeTokenRange": {
3904
4667
  "startIndex": 1,
3905
- "endIndex": 3
4668
+ "endIndex": 2
3906
4669
  }
3907
4670
  }
3908
4671
  ],
3909
- "extendsTokenRanges": []
4672
+ "extendsTokenRanges": [
4673
+ {
4674
+ "startIndex": 1,
4675
+ "endIndex": 2
4676
+ }
4677
+ ]
3910
4678
  },
3911
4679
  {
3912
4680
  "kind": "Function",
3913
- "canonicalReference": "@alloy-js/csharp!EnumDeclaration:function(1)",
3914
- "docComment": "/**\n * A C# enum declaration\n *\n * @example\n * ```tsx\n * <EnumDeclaration public name=\"Color\">\n * <EnumMember name=\"Red\" />\n * <EnumMember name=\"Green\" />\n * <EnumMember name=\"Blue\" />\n * </EnumDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public enum Color\n * {\n * Red,\n * Green,\n * Blue\n * }\n * ```\n *\n */\n",
4681
+ "canonicalReference": "@alloy-js/csharp!EnumMember:function(1)",
4682
+ "docComment": "",
3915
4683
  "excerptTokens": [
3916
4684
  {
3917
4685
  "kind": "Content",
3918
- "text": "export declare function EnumDeclaration(props: "
4686
+ "text": "export declare function EnumMember(props: "
3919
4687
  },
3920
4688
  {
3921
4689
  "kind": "Reference",
3922
- "text": "EnumDeclarationProps",
3923
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface"
4690
+ "text": "EnumMemberProps",
4691
+ "canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface"
3924
4692
  },
3925
4693
  {
3926
4694
  "kind": "Content",
@@ -3953,63 +4721,26 @@
3953
4721
  "isOptional": false
3954
4722
  }
3955
4723
  ],
3956
- "name": "EnumDeclaration"
4724
+ "name": "EnumMember"
3957
4725
  },
3958
4726
  {
3959
4727
  "kind": "Interface",
3960
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface",
4728
+ "canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface",
3961
4729
  "docComment": "",
3962
4730
  "excerptTokens": [
3963
4731
  {
3964
4732
  "kind": "Content",
3965
- "text": "export interface EnumDeclarationProps extends "
3966
- },
3967
- {
3968
- "kind": "Reference",
3969
- "text": "AccessModifiers",
3970
- "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
3971
- },
3972
- {
3973
- "kind": "Content",
3974
- "text": " "
4733
+ "text": "export interface EnumMemberProps "
3975
4734
  }
3976
4735
  ],
3977
4736
  "fileUrlPath": "src/components/EnumDeclaration.tsx",
3978
4737
  "releaseTag": "Public",
3979
- "name": "EnumDeclarationProps",
4738
+ "name": "EnumMemberProps",
3980
4739
  "preserveMemberOrder": false,
3981
4740
  "members": [
3982
4741
  {
3983
4742
  "kind": "PropertySignature",
3984
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#children:member",
3985
- "docComment": "",
3986
- "excerptTokens": [
3987
- {
3988
- "kind": "Content",
3989
- "text": "children?: "
3990
- },
3991
- {
3992
- "kind": "Reference",
3993
- "text": "core.Children",
3994
- "canonicalReference": "@alloy-js/core!Children:type"
3995
- },
3996
- {
3997
- "kind": "Content",
3998
- "text": ";"
3999
- }
4000
- ],
4001
- "isReadonly": false,
4002
- "isOptional": true,
4003
- "releaseTag": "Public",
4004
- "name": "children",
4005
- "propertyTypeTokenRange": {
4006
- "startIndex": 1,
4007
- "endIndex": 2
4008
- }
4009
- },
4010
- {
4011
- "kind": "PropertySignature",
4012
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#name:member",
4743
+ "canonicalReference": "@alloy-js/csharp!EnumMemberProps#name:member",
4013
4744
  "docComment": "",
4014
4745
  "excerptTokens": [
4015
4746
  {
@@ -4036,7 +4767,7 @@
4036
4767
  },
4037
4768
  {
4038
4769
  "kind": "PropertySignature",
4039
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#refkey:member",
4770
+ "canonicalReference": "@alloy-js/csharp!EnumMemberProps#refkey:member",
4040
4771
  "docComment": "",
4041
4772
  "excerptTokens": [
4042
4773
  {
@@ -4063,26 +4794,108 @@
4063
4794
  }
4064
4795
  }
4065
4796
  ],
4066
- "extendsTokenRanges": [
4797
+ "extendsTokenRanges": []
4798
+ },
4799
+ {
4800
+ "kind": "Function",
4801
+ "canonicalReference": "@alloy-js/csharp!getAccessModifier:function(1)",
4802
+ "docComment": "",
4803
+ "excerptTokens": [
4067
4804
  {
4068
- "startIndex": 1,
4069
- "endIndex": 2
4805
+ "kind": "Content",
4806
+ "text": "getAccessModifier: (data: "
4807
+ },
4808
+ {
4809
+ "kind": "Reference",
4810
+ "text": "AccessModifiers",
4811
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
4812
+ },
4813
+ {
4814
+ "kind": "Content",
4815
+ "text": ") => "
4816
+ },
4817
+ {
4818
+ "kind": "Content",
4819
+ "text": "string"
4070
4820
  }
4071
- ]
4821
+ ],
4822
+ "fileUrlPath": "src/modifiers.ts",
4823
+ "returnTypeTokenRange": {
4824
+ "startIndex": 3,
4825
+ "endIndex": 4
4826
+ },
4827
+ "releaseTag": "Public",
4828
+ "overloadIndex": 1,
4829
+ "parameters": [
4830
+ {
4831
+ "parameterName": "data",
4832
+ "parameterTypeTokenRange": {
4833
+ "startIndex": 1,
4834
+ "endIndex": 2
4835
+ },
4836
+ "isOptional": false
4837
+ }
4838
+ ],
4839
+ "name": "getAccessModifier"
4072
4840
  },
4073
4841
  {
4074
4842
  "kind": "Function",
4075
- "canonicalReference": "@alloy-js/csharp!EnumMember:function(1)",
4843
+ "canonicalReference": "@alloy-js/csharp!getAsyncModifier:function(1)",
4076
4844
  "docComment": "",
4077
4845
  "excerptTokens": [
4078
4846
  {
4079
4847
  "kind": "Content",
4080
- "text": "export declare function EnumMember(props: "
4848
+ "text": "export declare function getAsyncModifier(async?: "
4849
+ },
4850
+ {
4851
+ "kind": "Content",
4852
+ "text": "boolean"
4853
+ },
4854
+ {
4855
+ "kind": "Content",
4856
+ "text": "): "
4857
+ },
4858
+ {
4859
+ "kind": "Content",
4860
+ "text": "string"
4861
+ },
4862
+ {
4863
+ "kind": "Content",
4864
+ "text": ";"
4865
+ }
4866
+ ],
4867
+ "fileUrlPath": "src/modifiers.ts",
4868
+ "returnTypeTokenRange": {
4869
+ "startIndex": 3,
4870
+ "endIndex": 4
4871
+ },
4872
+ "releaseTag": "Public",
4873
+ "overloadIndex": 1,
4874
+ "parameters": [
4875
+ {
4876
+ "parameterName": "async",
4877
+ "parameterTypeTokenRange": {
4878
+ "startIndex": 1,
4879
+ "endIndex": 2
4880
+ },
4881
+ "isOptional": true
4882
+ }
4883
+ ],
4884
+ "name": "getAsyncModifier"
4885
+ },
4886
+ {
4887
+ "kind": "Function",
4888
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclaration:function(1)",
4889
+ "docComment": "/**\n * CSharp interface declaration.\n *\n * @example\n * ```tsx\n * <InterfaceDeclaration public name=\"IMyInterface\">\n * <InterfaceMember public name=\"MyProperty\" type=\"int\" />\n * <InterfaceMethod public name=\"MyMethod\" returnType=\"void\">\n * <Parameter name=\"value\" type=\"int\" />\n * </InterfaceMethod>\n * </InterfaceDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public interface MyIface\n * {\n * public int MyProperty { get; set; }\n * public void MyMethod(int value);\n * }\n * ```\n *\n */\n",
4890
+ "excerptTokens": [
4891
+ {
4892
+ "kind": "Content",
4893
+ "text": "export declare function InterfaceDeclaration(props: "
4081
4894
  },
4082
4895
  {
4083
4896
  "kind": "Reference",
4084
- "text": "EnumMemberProps",
4085
- "canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface"
4897
+ "text": "InterfaceDeclarationProps",
4898
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface"
4086
4899
  },
4087
4900
  {
4088
4901
  "kind": "Content",
@@ -4098,7 +4911,7 @@
4098
4911
  "text": ";"
4099
4912
  }
4100
4913
  ],
4101
- "fileUrlPath": "src/components/EnumDeclaration.tsx",
4914
+ "fileUrlPath": "src/components/interface/declaration.tsx",
4102
4915
  "returnTypeTokenRange": {
4103
4916
  "startIndex": 3,
4104
4917
  "endIndex": 4
@@ -4111,30 +4924,98 @@
4111
4924
  "parameterTypeTokenRange": {
4112
4925
  "startIndex": 1,
4113
4926
  "endIndex": 2
4114
- },
4115
- "isOptional": false
4116
- }
4117
- ],
4118
- "name": "EnumMember"
4119
- },
4120
- {
4121
- "kind": "Interface",
4122
- "canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface",
4123
- "docComment": "",
4124
- "excerptTokens": [
4125
- {
4126
- "kind": "Content",
4127
- "text": "export interface EnumMemberProps "
4128
- }
4129
- ],
4130
- "fileUrlPath": "src/components/EnumDeclaration.tsx",
4131
- "releaseTag": "Public",
4132
- "name": "EnumMemberProps",
4133
- "preserveMemberOrder": false,
4134
- "members": [
4927
+ },
4928
+ "isOptional": false
4929
+ }
4930
+ ],
4931
+ "name": "InterfaceDeclaration"
4932
+ },
4933
+ {
4934
+ "kind": "Interface",
4935
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface",
4936
+ "docComment": "",
4937
+ "excerptTokens": [
4938
+ {
4939
+ "kind": "Content",
4940
+ "text": "export interface InterfaceDeclarationProps extends "
4941
+ },
4942
+ {
4943
+ "kind": "Reference",
4944
+ "text": "Omit",
4945
+ "canonicalReference": "!Omit:type"
4946
+ },
4947
+ {
4948
+ "kind": "Content",
4949
+ "text": "<"
4950
+ },
4951
+ {
4952
+ "kind": "Reference",
4953
+ "text": "core.DeclarationProps",
4954
+ "canonicalReference": "@alloy-js/core!DeclarationProps:type"
4955
+ },
4956
+ {
4957
+ "kind": "Content",
4958
+ "text": ", \"nameKind\">"
4959
+ },
4960
+ {
4961
+ "kind": "Content",
4962
+ "text": ", "
4963
+ },
4964
+ {
4965
+ "kind": "Reference",
4966
+ "text": "AccessModifiers",
4967
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
4968
+ },
4969
+ {
4970
+ "kind": "Content",
4971
+ "text": ", "
4972
+ },
4973
+ {
4974
+ "kind": "Reference",
4975
+ "text": "InterfaceModifiers",
4976
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface"
4977
+ },
4978
+ {
4979
+ "kind": "Content",
4980
+ "text": " "
4981
+ }
4982
+ ],
4983
+ "fileUrlPath": "src/components/interface/declaration.tsx",
4984
+ "releaseTag": "Public",
4985
+ "name": "InterfaceDeclarationProps",
4986
+ "preserveMemberOrder": false,
4987
+ "members": [
4988
+ {
4989
+ "kind": "PropertySignature",
4990
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#doc:member",
4991
+ "docComment": "/**\n * Doc comment\n */\n",
4992
+ "excerptTokens": [
4993
+ {
4994
+ "kind": "Content",
4995
+ "text": "doc?: "
4996
+ },
4997
+ {
4998
+ "kind": "Reference",
4999
+ "text": "core.Children",
5000
+ "canonicalReference": "@alloy-js/core!Children:type"
5001
+ },
5002
+ {
5003
+ "kind": "Content",
5004
+ "text": ";"
5005
+ }
5006
+ ],
5007
+ "isReadonly": false,
5008
+ "isOptional": true,
5009
+ "releaseTag": "Public",
5010
+ "name": "doc",
5011
+ "propertyTypeTokenRange": {
5012
+ "startIndex": 1,
5013
+ "endIndex": 2
5014
+ }
5015
+ },
4135
5016
  {
4136
5017
  "kind": "PropertySignature",
4137
- "canonicalReference": "@alloy-js/csharp!EnumMemberProps#name:member",
5018
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#name:member",
4138
5019
  "docComment": "",
4139
5020
  "excerptTokens": [
4140
5021
  {
@@ -4161,7 +5042,7 @@
4161
5042
  },
4162
5043
  {
4163
5044
  "kind": "PropertySignature",
4164
- "canonicalReference": "@alloy-js/csharp!EnumMemberProps#refkey:member",
5045
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#refkey:member",
4165
5046
  "docComment": "",
4166
5047
  "excerptTokens": [
4167
5048
  {
@@ -4186,79 +5067,93 @@
4186
5067
  "startIndex": 1,
4187
5068
  "endIndex": 2
4188
5069
  }
5070
+ },
5071
+ {
5072
+ "kind": "PropertySignature",
5073
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#typeParameters:member",
5074
+ "docComment": "",
5075
+ "excerptTokens": [
5076
+ {
5077
+ "kind": "Content",
5078
+ "text": "typeParameters?: "
5079
+ },
5080
+ {
5081
+ "kind": "Reference",
5082
+ "text": "Record",
5083
+ "canonicalReference": "!Record:type"
5084
+ },
5085
+ {
5086
+ "kind": "Content",
5087
+ "text": "<string, "
5088
+ },
5089
+ {
5090
+ "kind": "Reference",
5091
+ "text": "core.Refkey",
5092
+ "canonicalReference": "@alloy-js/core!Refkey:type"
5093
+ },
5094
+ {
5095
+ "kind": "Content",
5096
+ "text": ">"
5097
+ },
5098
+ {
5099
+ "kind": "Content",
5100
+ "text": ";"
5101
+ }
5102
+ ],
5103
+ "isReadonly": false,
5104
+ "isOptional": true,
5105
+ "releaseTag": "Public",
5106
+ "name": "typeParameters",
5107
+ "propertyTypeTokenRange": {
5108
+ "startIndex": 1,
5109
+ "endIndex": 5
5110
+ }
4189
5111
  }
4190
5112
  ],
4191
- "extendsTokenRanges": []
4192
- },
4193
- {
4194
- "kind": "Function",
4195
- "canonicalReference": "@alloy-js/csharp!getAccessModifier:function(1)",
4196
- "docComment": "",
4197
- "excerptTokens": [
4198
- {
4199
- "kind": "Content",
4200
- "text": "getAccessModifier: (data: "
4201
- },
5113
+ "extendsTokenRanges": [
4202
5114
  {
4203
- "kind": "Reference",
4204
- "text": "AccessModifiers",
4205
- "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
5115
+ "startIndex": 1,
5116
+ "endIndex": 5
4206
5117
  },
4207
5118
  {
4208
- "kind": "Content",
4209
- "text": ") => "
5119
+ "startIndex": 6,
5120
+ "endIndex": 7
4210
5121
  },
4211
5122
  {
4212
- "kind": "Content",
4213
- "text": "string"
4214
- }
4215
- ],
4216
- "fileUrlPath": "src/modifiers.ts",
4217
- "returnTypeTokenRange": {
4218
- "startIndex": 3,
4219
- "endIndex": 4
4220
- },
4221
- "releaseTag": "Public",
4222
- "overloadIndex": 1,
4223
- "parameters": [
4224
- {
4225
- "parameterName": "data",
4226
- "parameterTypeTokenRange": {
4227
- "startIndex": 1,
4228
- "endIndex": 2
4229
- },
4230
- "isOptional": false
5123
+ "startIndex": 8,
5124
+ "endIndex": 9
4231
5125
  }
4232
- ],
4233
- "name": "getAccessModifier"
5126
+ ]
4234
5127
  },
4235
5128
  {
4236
5129
  "kind": "Function",
4237
- "canonicalReference": "@alloy-js/csharp!getAsyncModifier:function(1)",
5130
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethod:function(1)",
4238
5131
  "docComment": "",
4239
5132
  "excerptTokens": [
4240
5133
  {
4241
5134
  "kind": "Content",
4242
- "text": "export declare function getAsyncModifier(async?: "
5135
+ "text": "export declare function InterfaceMethod(props: "
4243
5136
  },
4244
5137
  {
4245
- "kind": "Content",
4246
- "text": "boolean"
5138
+ "kind": "Reference",
5139
+ "text": "InterfaceMethodProps",
5140
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface"
4247
5141
  },
4248
5142
  {
4249
5143
  "kind": "Content",
4250
5144
  "text": "): "
4251
5145
  },
4252
5146
  {
4253
- "kind": "Content",
4254
- "text": "string"
5147
+ "kind": "Reference",
5148
+ "text": "Children",
5149
+ "canonicalReference": "@alloy-js/core!Children:type"
4255
5150
  },
4256
5151
  {
4257
5152
  "kind": "Content",
4258
5153
  "text": ";"
4259
5154
  }
4260
5155
  ],
4261
- "fileUrlPath": "src/modifiers.ts",
5156
+ "fileUrlPath": "src/components/interface/method.tsx",
4262
5157
  "returnTypeTokenRange": {
4263
5158
  "startIndex": 3,
4264
5159
  "endIndex": 4
@@ -4267,93 +5162,69 @@
4267
5162
  "overloadIndex": 1,
4268
5163
  "parameters": [
4269
5164
  {
4270
- "parameterName": "async",
5165
+ "parameterName": "props",
4271
5166
  "parameterTypeTokenRange": {
4272
5167
  "startIndex": 1,
4273
5168
  "endIndex": 2
4274
5169
  },
4275
- "isOptional": true
5170
+ "isOptional": false
4276
5171
  }
4277
5172
  ],
4278
- "name": "getAsyncModifier"
5173
+ "name": "InterfaceMethod"
4279
5174
  },
4280
5175
  {
4281
- "kind": "Function",
4282
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclaration:function(1)",
4283
- "docComment": "/**\n * CSharp interface declaration.\n *\n * @example\n * ```tsx\n * <InterfaceDeclaration public name=\"IMyInterface\">\n * <InterfaceMember public name=\"MyProperty\" type=\"int\" />\n * <InterfaceMethod public name=\"MyMethod\" returnType=\"void\">\n * <Parameter name=\"value\" type=\"int\" />\n * </InterfaceMethod>\n * </InterfaceDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public interface MyIface\n * {\n * public int MyProperty { get; set; }\n * public void MyMethod(int value);\n * }\n * ```\n *\n */\n",
5176
+ "kind": "Interface",
5177
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface",
5178
+ "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
4284
5179
  "excerptTokens": [
4285
5180
  {
4286
5181
  "kind": "Content",
4287
- "text": "export declare function InterfaceDeclaration(props: "
4288
- },
4289
- {
4290
- "kind": "Reference",
4291
- "text": "InterfaceDeclarationProps",
4292
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface"
4293
- },
4294
- {
4295
- "kind": "Content",
4296
- "text": "): "
4297
- },
4298
- {
4299
- "kind": "Reference",
4300
- "text": "core.Children",
4301
- "canonicalReference": "@alloy-js/core!Children:type"
4302
- },
4303
- {
4304
- "kind": "Content",
4305
- "text": ";"
5182
+ "text": "export interface InterfaceMethodModifiers "
4306
5183
  }
4307
5184
  ],
4308
- "fileUrlPath": "src/components/interface/declaration.tsx",
4309
- "returnTypeTokenRange": {
4310
- "startIndex": 3,
4311
- "endIndex": 4
4312
- },
5185
+ "fileUrlPath": "src/components/interface/method.tsx",
4313
5186
  "releaseTag": "Public",
4314
- "overloadIndex": 1,
4315
- "parameters": [
5187
+ "name": "InterfaceMethodModifiers",
5188
+ "preserveMemberOrder": false,
5189
+ "members": [
4316
5190
  {
4317
- "parameterName": "props",
4318
- "parameterTypeTokenRange": {
5191
+ "kind": "PropertySignature",
5192
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers#new:member",
5193
+ "docComment": "",
5194
+ "excerptTokens": [
5195
+ {
5196
+ "kind": "Content",
5197
+ "text": "readonly new?: "
5198
+ },
5199
+ {
5200
+ "kind": "Content",
5201
+ "text": "boolean"
5202
+ },
5203
+ {
5204
+ "kind": "Content",
5205
+ "text": ";"
5206
+ }
5207
+ ],
5208
+ "isReadonly": true,
5209
+ "isOptional": true,
5210
+ "releaseTag": "Public",
5211
+ "name": "new",
5212
+ "propertyTypeTokenRange": {
4319
5213
  "startIndex": 1,
4320
5214
  "endIndex": 2
4321
- },
4322
- "isOptional": false
5215
+ }
4323
5216
  }
4324
5217
  ],
4325
- "name": "InterfaceDeclaration"
5218
+ "extendsTokenRanges": []
4326
5219
  },
4327
5220
  {
4328
5221
  "kind": "Interface",
4329
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface",
5222
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface",
4330
5223
  "docComment": "",
4331
5224
  "excerptTokens": [
4332
5225
  {
4333
5226
  "kind": "Content",
4334
- "text": "export interface InterfaceDeclarationProps extends "
4335
- },
4336
- {
4337
- "kind": "Reference",
4338
- "text": "Omit",
4339
- "canonicalReference": "!Omit:type"
4340
- },
4341
- {
4342
- "kind": "Content",
4343
- "text": "<"
4344
- },
4345
- {
4346
- "kind": "Reference",
4347
- "text": "core.DeclarationProps",
4348
- "canonicalReference": "@alloy-js/core!DeclarationProps:type"
4349
- },
4350
- {
4351
- "kind": "Content",
4352
- "text": ", \"nameKind\">"
4353
- },
4354
- {
4355
- "kind": "Content",
4356
- "text": ", "
5227
+ "text": "export interface InterfaceMethodProps extends "
4357
5228
  },
4358
5229
  {
4359
5230
  "kind": "Reference",
@@ -4366,22 +5237,50 @@
4366
5237
  },
4367
5238
  {
4368
5239
  "kind": "Reference",
4369
- "text": "InterfaceModifiers",
4370
- "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface"
5240
+ "text": "InterfaceMethodModifiers",
5241
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface"
4371
5242
  },
4372
5243
  {
4373
5244
  "kind": "Content",
4374
5245
  "text": " "
4375
5246
  }
4376
5247
  ],
4377
- "fileUrlPath": "src/components/interface/declaration.tsx",
5248
+ "fileUrlPath": "src/components/interface/method.tsx",
4378
5249
  "releaseTag": "Public",
4379
- "name": "InterfaceDeclarationProps",
5250
+ "name": "InterfaceMethodProps",
4380
5251
  "preserveMemberOrder": false,
4381
5252
  "members": [
4382
5253
  {
4383
5254
  "kind": "PropertySignature",
4384
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#doc:member",
5255
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#children:member",
5256
+ "docComment": "",
5257
+ "excerptTokens": [
5258
+ {
5259
+ "kind": "Content",
5260
+ "text": "children?: "
5261
+ },
5262
+ {
5263
+ "kind": "Reference",
5264
+ "text": "Children",
5265
+ "canonicalReference": "@alloy-js/core!Children:type"
5266
+ },
5267
+ {
5268
+ "kind": "Content",
5269
+ "text": ";"
5270
+ }
5271
+ ],
5272
+ "isReadonly": false,
5273
+ "isOptional": true,
5274
+ "releaseTag": "Public",
5275
+ "name": "children",
5276
+ "propertyTypeTokenRange": {
5277
+ "startIndex": 1,
5278
+ "endIndex": 2
5279
+ }
5280
+ },
5281
+ {
5282
+ "kind": "PropertySignature",
5283
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#doc:member",
4385
5284
  "docComment": "/**\n * Doc comment\n */\n",
4386
5285
  "excerptTokens": [
4387
5286
  {
@@ -4390,7 +5289,7 @@
4390
5289
  },
4391
5290
  {
4392
5291
  "kind": "Reference",
4393
- "text": "core.Children",
5292
+ "text": "Children",
4394
5293
  "canonicalReference": "@alloy-js/core!Children:type"
4395
5294
  },
4396
5295
  {
@@ -4409,7 +5308,7 @@
4409
5308
  },
4410
5309
  {
4411
5310
  "kind": "PropertySignature",
4412
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#name:member",
5311
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#name:member",
4413
5312
  "docComment": "",
4414
5313
  "excerptTokens": [
4415
5314
  {
@@ -4436,17 +5335,30 @@
4436
5335
  },
4437
5336
  {
4438
5337
  "kind": "PropertySignature",
4439
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#refkey:member",
5338
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#parameters:member",
4440
5339
  "docComment": "",
4441
5340
  "excerptTokens": [
4442
5341
  {
4443
5342
  "kind": "Content",
4444
- "text": "refkey?: "
5343
+ "text": "parameters?: "
4445
5344
  },
4446
5345
  {
4447
5346
  "kind": "Reference",
4448
- "text": "core.Refkey",
4449
- "canonicalReference": "@alloy-js/core!Refkey:type"
5347
+ "text": "Array",
5348
+ "canonicalReference": "!Array:interface"
5349
+ },
5350
+ {
5351
+ "kind": "Content",
5352
+ "text": "<"
5353
+ },
5354
+ {
5355
+ "kind": "Reference",
5356
+ "text": "ParameterProps",
5357
+ "canonicalReference": "@alloy-js/csharp!ParameterProps:interface"
5358
+ },
5359
+ {
5360
+ "kind": "Content",
5361
+ "text": ">"
4450
5362
  },
4451
5363
  {
4452
5364
  "kind": "Content",
@@ -4456,38 +5368,53 @@
4456
5368
  "isReadonly": false,
4457
5369
  "isOptional": true,
4458
5370
  "releaseTag": "Public",
4459
- "name": "refkey",
5371
+ "name": "parameters",
4460
5372
  "propertyTypeTokenRange": {
4461
5373
  "startIndex": 1,
4462
- "endIndex": 2
5374
+ "endIndex": 5
4463
5375
  }
4464
5376
  },
4465
5377
  {
4466
5378
  "kind": "PropertySignature",
4467
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#typeParameters:member",
5379
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#refkey:member",
4468
5380
  "docComment": "",
4469
5381
  "excerptTokens": [
4470
5382
  {
4471
5383
  "kind": "Content",
4472
- "text": "typeParameters?: "
5384
+ "text": "refkey?: "
4473
5385
  },
4474
5386
  {
4475
5387
  "kind": "Reference",
4476
- "text": "Record",
4477
- "canonicalReference": "!Record:type"
5388
+ "text": "Refkey",
5389
+ "canonicalReference": "@alloy-js/core!Refkey:type"
4478
5390
  },
4479
5391
  {
4480
5392
  "kind": "Content",
4481
- "text": "<string, "
4482
- },
5393
+ "text": ";"
5394
+ }
5395
+ ],
5396
+ "isReadonly": false,
5397
+ "isOptional": true,
5398
+ "releaseTag": "Public",
5399
+ "name": "refkey",
5400
+ "propertyTypeTokenRange": {
5401
+ "startIndex": 1,
5402
+ "endIndex": 2
5403
+ }
5404
+ },
5405
+ {
5406
+ "kind": "PropertySignature",
5407
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#returns:member",
5408
+ "docComment": "",
5409
+ "excerptTokens": [
4483
5410
  {
4484
- "kind": "Reference",
4485
- "text": "core.Refkey",
4486
- "canonicalReference": "@alloy-js/core!Refkey:type"
5411
+ "kind": "Content",
5412
+ "text": "returns?: "
4487
5413
  },
4488
5414
  {
4489
- "kind": "Content",
4490
- "text": ">"
5415
+ "kind": "Reference",
5416
+ "text": "Children",
5417
+ "canonicalReference": "@alloy-js/core!Children:type"
4491
5418
  },
4492
5419
  {
4493
5420
  "kind": "Content",
@@ -4497,41 +5424,82 @@
4497
5424
  "isReadonly": false,
4498
5425
  "isOptional": true,
4499
5426
  "releaseTag": "Public",
4500
- "name": "typeParameters",
5427
+ "name": "returns",
4501
5428
  "propertyTypeTokenRange": {
4502
5429
  "startIndex": 1,
4503
- "endIndex": 5
5430
+ "endIndex": 2
4504
5431
  }
4505
5432
  }
4506
5433
  ],
4507
5434
  "extendsTokenRanges": [
4508
5435
  {
4509
5436
  "startIndex": 1,
4510
- "endIndex": 5
4511
- },
4512
- {
4513
- "startIndex": 6,
4514
- "endIndex": 7
5437
+ "endIndex": 2
4515
5438
  },
4516
5439
  {
4517
- "startIndex": 8,
4518
- "endIndex": 9
5440
+ "startIndex": 3,
5441
+ "endIndex": 4
4519
5442
  }
4520
5443
  ]
4521
5444
  },
4522
5445
  {
4523
- "kind": "Function",
4524
- "canonicalReference": "@alloy-js/csharp!InterfaceMethod:function(1)",
5446
+ "kind": "Interface",
5447
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface",
4525
5448
  "docComment": "",
4526
5449
  "excerptTokens": [
4527
5450
  {
4528
5451
  "kind": "Content",
4529
- "text": "export declare function InterfaceMethod(props: "
5452
+ "text": "export interface InterfaceModifiers "
5453
+ }
5454
+ ],
5455
+ "fileUrlPath": "src/components/interface/declaration.tsx",
5456
+ "releaseTag": "Public",
5457
+ "name": "InterfaceModifiers",
5458
+ "preserveMemberOrder": false,
5459
+ "members": [
5460
+ {
5461
+ "kind": "PropertySignature",
5462
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers#partial:member",
5463
+ "docComment": "",
5464
+ "excerptTokens": [
5465
+ {
5466
+ "kind": "Content",
5467
+ "text": "readonly partial?: "
5468
+ },
5469
+ {
5470
+ "kind": "Content",
5471
+ "text": "boolean"
5472
+ },
5473
+ {
5474
+ "kind": "Content",
5475
+ "text": ";"
5476
+ }
5477
+ ],
5478
+ "isReadonly": true,
5479
+ "isOptional": true,
5480
+ "releaseTag": "Public",
5481
+ "name": "partial",
5482
+ "propertyTypeTokenRange": {
5483
+ "startIndex": 1,
5484
+ "endIndex": 2
5485
+ }
5486
+ }
5487
+ ],
5488
+ "extendsTokenRanges": []
5489
+ },
5490
+ {
5491
+ "kind": "Function",
5492
+ "canonicalReference": "@alloy-js/csharp!InterfaceProperty:function(1)",
5493
+ "docComment": "/**\n * Render a C# interface property.\n *\n * @example\n *\n * `<InterfaceProperty public name=\"My\" get set />`\n *\n * ```cs\n * public int My { get; set; };\n * ```\n *\n */\n",
5494
+ "excerptTokens": [
5495
+ {
5496
+ "kind": "Content",
5497
+ "text": "export declare function InterfaceProperty(props: "
4530
5498
  },
4531
5499
  {
4532
5500
  "kind": "Reference",
4533
- "text": "InterfaceMethodProps",
4534
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface"
5501
+ "text": "InterfacePropertyProps",
5502
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps:interface"
4535
5503
  },
4536
5504
  {
4537
5505
  "kind": "Content",
@@ -4547,7 +5515,7 @@
4547
5515
  "text": ";"
4548
5516
  }
4549
5517
  ],
4550
- "fileUrlPath": "src/components/interface/method.tsx",
5518
+ "fileUrlPath": "src/components/interface/property.tsx",
4551
5519
  "returnTypeTokenRange": {
4552
5520
  "startIndex": 3,
4553
5521
  "endIndex": 4
@@ -4564,26 +5532,26 @@
4564
5532
  "isOptional": false
4565
5533
  }
4566
5534
  ],
4567
- "name": "InterfaceMethod"
5535
+ "name": "InterfaceProperty"
4568
5536
  },
4569
5537
  {
4570
5538
  "kind": "Interface",
4571
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface",
5539
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyModifiers:interface",
4572
5540
  "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
4573
5541
  "excerptTokens": [
4574
5542
  {
4575
5543
  "kind": "Content",
4576
- "text": "export interface InterfaceMethodModifiers "
5544
+ "text": "export interface InterfacePropertyModifiers "
4577
5545
  }
4578
5546
  ],
4579
- "fileUrlPath": "src/components/interface/method.tsx",
5547
+ "fileUrlPath": "src/components/interface/property.tsx",
4580
5548
  "releaseTag": "Public",
4581
- "name": "InterfaceMethodModifiers",
5549
+ "name": "InterfacePropertyModifiers",
4582
5550
  "preserveMemberOrder": false,
4583
5551
  "members": [
4584
5552
  {
4585
5553
  "kind": "PropertySignature",
4586
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers#new:member",
5554
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyModifiers#new:member",
4587
5555
  "docComment": "",
4588
5556
  "excerptTokens": [
4589
5557
  {
@@ -4613,12 +5581,12 @@
4613
5581
  },
4614
5582
  {
4615
5583
  "kind": "Interface",
4616
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface",
5584
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps:interface",
4617
5585
  "docComment": "",
4618
5586
  "excerptTokens": [
4619
5587
  {
4620
5588
  "kind": "Content",
4621
- "text": "export interface InterfaceMethodProps extends "
5589
+ "text": "export interface InterfacePropertyProps extends "
4622
5590
  },
4623
5591
  {
4624
5592
  "kind": "Reference",
@@ -4631,27 +5599,27 @@
4631
5599
  },
4632
5600
  {
4633
5601
  "kind": "Reference",
4634
- "text": "InterfaceMethodModifiers",
4635
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface"
5602
+ "text": "InterfacePropertyModifiers",
5603
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyModifiers:interface"
4636
5604
  },
4637
5605
  {
4638
5606
  "kind": "Content",
4639
5607
  "text": " "
4640
5608
  }
4641
5609
  ],
4642
- "fileUrlPath": "src/components/interface/method.tsx",
5610
+ "fileUrlPath": "src/components/interface/property.tsx",
4643
5611
  "releaseTag": "Public",
4644
- "name": "InterfaceMethodProps",
5612
+ "name": "InterfacePropertyProps",
4645
5613
  "preserveMemberOrder": false,
4646
5614
  "members": [
4647
5615
  {
4648
5616
  "kind": "PropertySignature",
4649
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#children:member",
4650
- "docComment": "",
5617
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#doc:member",
5618
+ "docComment": "/**\n * Doc comment\n */\n",
4651
5619
  "excerptTokens": [
4652
5620
  {
4653
5621
  "kind": "Content",
4654
- "text": "children?: "
5622
+ "text": "doc?: "
4655
5623
  },
4656
5624
  {
4657
5625
  "kind": "Reference",
@@ -4666,7 +5634,7 @@
4666
5634
  "isReadonly": false,
4667
5635
  "isOptional": true,
4668
5636
  "releaseTag": "Public",
4669
- "name": "children",
5637
+ "name": "doc",
4670
5638
  "propertyTypeTokenRange": {
4671
5639
  "startIndex": 1,
4672
5640
  "endIndex": 2
@@ -4674,17 +5642,16 @@
4674
5642
  },
4675
5643
  {
4676
5644
  "kind": "PropertySignature",
4677
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#doc:member",
4678
- "docComment": "/**\n * Doc comment\n */\n",
5645
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#get:member",
5646
+ "docComment": "/**\n * If property should have a getter\n */\n",
4679
5647
  "excerptTokens": [
4680
5648
  {
4681
5649
  "kind": "Content",
4682
- "text": "doc?: "
5650
+ "text": "get?: "
4683
5651
  },
4684
5652
  {
4685
- "kind": "Reference",
4686
- "text": "Children",
4687
- "canonicalReference": "@alloy-js/core!Children:type"
5653
+ "kind": "Content",
5654
+ "text": "boolean"
4688
5655
  },
4689
5656
  {
4690
5657
  "kind": "Content",
@@ -4694,7 +5661,7 @@
4694
5661
  "isReadonly": false,
4695
5662
  "isOptional": true,
4696
5663
  "releaseTag": "Public",
4697
- "name": "doc",
5664
+ "name": "get",
4698
5665
  "propertyTypeTokenRange": {
4699
5666
  "startIndex": 1,
4700
5667
  "endIndex": 2
@@ -4702,7 +5669,7 @@
4702
5669
  },
4703
5670
  {
4704
5671
  "kind": "PropertySignature",
4705
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#name:member",
5672
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#name:member",
4706
5673
  "docComment": "",
4707
5674
  "excerptTokens": [
4708
5675
  {
@@ -4729,30 +5696,16 @@
4729
5696
  },
4730
5697
  {
4731
5698
  "kind": "PropertySignature",
4732
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#parameters:member",
4733
- "docComment": "",
5699
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#nullable:member",
5700
+ "docComment": "/**\n * Property initializer\n *\n * @example\n *\n * `<ClassProperty name=\"My\" get set nullable />`\n *\n * ```cs\n * int? My { get; set; };\n * ```\n *\n */\n",
4734
5701
  "excerptTokens": [
4735
5702
  {
4736
5703
  "kind": "Content",
4737
- "text": "parameters?: "
4738
- },
4739
- {
4740
- "kind": "Reference",
4741
- "text": "Array",
4742
- "canonicalReference": "!Array:interface"
4743
- },
4744
- {
4745
- "kind": "Content",
4746
- "text": "<"
4747
- },
4748
- {
4749
- "kind": "Reference",
4750
- "text": "ParameterProps",
4751
- "canonicalReference": "@alloy-js/csharp!ParameterProps:interface"
5704
+ "text": "nullable?: "
4752
5705
  },
4753
5706
  {
4754
5707
  "kind": "Content",
4755
- "text": ">"
5708
+ "text": "boolean"
4756
5709
  },
4757
5710
  {
4758
5711
  "kind": "Content",
@@ -4762,15 +5715,15 @@
4762
5715
  "isReadonly": false,
4763
5716
  "isOptional": true,
4764
5717
  "releaseTag": "Public",
4765
- "name": "parameters",
5718
+ "name": "nullable",
4766
5719
  "propertyTypeTokenRange": {
4767
5720
  "startIndex": 1,
4768
- "endIndex": 5
5721
+ "endIndex": 2
4769
5722
  }
4770
5723
  },
4771
5724
  {
4772
5725
  "kind": "PropertySignature",
4773
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#refkey:member",
5726
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#refkey:member",
4774
5727
  "docComment": "",
4775
5728
  "excerptTokens": [
4776
5729
  {
@@ -4798,17 +5751,16 @@
4798
5751
  },
4799
5752
  {
4800
5753
  "kind": "PropertySignature",
4801
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#returns:member",
4802
- "docComment": "",
5754
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#set:member",
5755
+ "docComment": "/**\n * If property should have a setter\n */\n",
4803
5756
  "excerptTokens": [
4804
5757
  {
4805
5758
  "kind": "Content",
4806
- "text": "returns?: "
5759
+ "text": "set?: "
4807
5760
  },
4808
5761
  {
4809
- "kind": "Reference",
4810
- "text": "Children",
4811
- "canonicalReference": "@alloy-js/core!Children:type"
5762
+ "kind": "Content",
5763
+ "text": "boolean"
4812
5764
  },
4813
5765
  {
4814
5766
  "kind": "Content",
@@ -4818,68 +5770,51 @@
4818
5770
  "isReadonly": false,
4819
5771
  "isOptional": true,
4820
5772
  "releaseTag": "Public",
4821
- "name": "returns",
5773
+ "name": "set",
4822
5774
  "propertyTypeTokenRange": {
4823
5775
  "startIndex": 1,
4824
5776
  "endIndex": 2
4825
5777
  }
4826
- }
4827
- ],
4828
- "extendsTokenRanges": [
4829
- {
4830
- "startIndex": 1,
4831
- "endIndex": 2
4832
5778
  },
4833
- {
4834
- "startIndex": 3,
4835
- "endIndex": 4
4836
- }
4837
- ]
4838
- },
4839
- {
4840
- "kind": "Interface",
4841
- "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface",
4842
- "docComment": "",
4843
- "excerptTokens": [
4844
- {
4845
- "kind": "Content",
4846
- "text": "export interface InterfaceModifiers "
4847
- }
4848
- ],
4849
- "fileUrlPath": "src/components/interface/declaration.tsx",
4850
- "releaseTag": "Public",
4851
- "name": "InterfaceModifiers",
4852
- "preserveMemberOrder": false,
4853
- "members": [
4854
5779
  {
4855
5780
  "kind": "PropertySignature",
4856
- "canonicalReference": "@alloy-js/csharp!InterfaceModifiers#partial:member",
4857
- "docComment": "",
5781
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#type:member",
5782
+ "docComment": "/**\n * Property type\n */\n",
4858
5783
  "excerptTokens": [
4859
5784
  {
4860
5785
  "kind": "Content",
4861
- "text": "readonly partial?: "
5786
+ "text": "type: "
4862
5787
  },
4863
5788
  {
4864
- "kind": "Content",
4865
- "text": "boolean"
5789
+ "kind": "Reference",
5790
+ "text": "Children",
5791
+ "canonicalReference": "@alloy-js/core!Children:type"
4866
5792
  },
4867
5793
  {
4868
5794
  "kind": "Content",
4869
5795
  "text": ";"
4870
5796
  }
4871
5797
  ],
4872
- "isReadonly": true,
4873
- "isOptional": true,
5798
+ "isReadonly": false,
5799
+ "isOptional": false,
4874
5800
  "releaseTag": "Public",
4875
- "name": "partial",
5801
+ "name": "type",
4876
5802
  "propertyTypeTokenRange": {
4877
5803
  "startIndex": 1,
4878
5804
  "endIndex": 2
4879
5805
  }
4880
5806
  }
4881
5807
  ],
4882
- "extendsTokenRanges": []
5808
+ "extendsTokenRanges": [
5809
+ {
5810
+ "startIndex": 1,
5811
+ "endIndex": 2
5812
+ },
5813
+ {
5814
+ "startIndex": 3,
5815
+ "endIndex": 4
5816
+ }
5817
+ ]
4883
5818
  },
4884
5819
  {
4885
5820
  "kind": "Function",