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>
baseConstructoroptional Children[]Arguments to pass to the base class constructor. Renders : base(args) between parameter list and body.
childrenoptional ChildrenConstructor body
docoptional ChildrenDoc comment
fileoptional boolean
internaloptional boolean
parametersoptional ParameterProps[]Constructor parameters
privateoptional boolean
protectedoptional boolean
publicoptional boolean
refkeyoptional RefkeyRefkey
thisConstructoroptional Children[]Arguments to pass to another constructor in the same class. Renders : this(args) between parameter list and body.