Skip to content

Parameter

Define a parameter to be used in class or interface method.

import { Parameter } from "@alloy-js/csharp";
<Parameter
default={Children}
name="string"
optional
refkey={Refkey}
symbol={OutputSymbol}
type={Children}
/>

Props

defaultoptionalChildren

Default value for the parameter

namestring
optionaloptionalboolean

If the parmaeter is optional(without default value)

refkeyoptionalRefkey
symboloptionalMemberDeclaration context interface
typeChildren