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>import { Constructor } from "@alloy-js/csharp/stc";
Constructor({ baseConstructor: Children[], doc: Children, file: boolean, internal: boolean, parameters: ParameterProps[], private: boolean, protected: boolean, public: boolean, refkey: Refkey, thisConstructor: Children[],}).children(children)| baseConstructor | optional Children[] | Arguments to pass to the base class constructor. Renders : base(args) between parameter list and body. |
| children | optional Children | Constructor body |
| doc | optional Children | Doc comment |
| file | optional boolean | |
| internal | optional boolean | |
| parameters | optional ParameterProps[] | Constructor parameters |
| private | optional boolean | |
| protected | optional boolean | |
| public | optional boolean | |
| refkey | optional Refkey | Refkey |
| thisConstructor | optional Children[] | Arguments to pass to another constructor in the same class. Renders : this(args) between parameter list and body. |