Skip to content

Constructor

Properties for Constructor component.

import { Constructor } from "@alloy-js/csharp";
<Constructor
baseConstructor={Children[]}
doc={Children}
file
internal
parameters={ParameterProps[]}
private
protected
public
refkey={Refkey}
thisConstructor={Children[]}
>
{children}
</Constructor>
baseConstructoroptionalChildren[]Arguments to pass to the base class constructor. Renders : base(args) between parameter list and body.
childrenoptionalChildrenConstructor body
docoptionalChildrenDoc comment
fileoptional boolean
internaloptional boolean
parametersoptionalParameterProps[]Constructor parameters
privateoptional boolean
protectedoptional boolean
publicoptional boolean
refkeyoptionalRefkeyRefkey
thisConstructoroptionalChildren[]Arguments to pass to another constructor in the same class. Renders : this(args) between parameter list and body.