Skip to content

InterfaceMethod

import { InterfaceMethod } from "@alloy-js/csharp";
<InterfaceMethod
doc={Children}
file
internal
name="string"
new
parameters={Array<ParameterProps>}
private
protected
public
refkey={Refkey}
returns={Children}
typeParameters={(TypeParameterProps | string)[]}
>
{children}
</InterfaceMethod>

Props

childrenoptionalChildren
docoptionalChildren

Doc comment

fileoptionalboolean
internaloptionalboolean
namestring
newoptionalboolean
parametersoptionalArray<ParameterProps>
privateoptionalboolean
protectedoptionalboolean
publicoptionalboolean
refkeyoptionalRefkey
returnsoptionalChildren
typeParametersoptional(TypeParameterProps | string)[]

Type parameters for the method