Skip to content

InterfaceMethod

import { InterfaceMethod } from "@alloy-js/csharp";
<InterfaceMethod
attributes={AttributesProp}
doc={Children}
file
internal
name={string | Namekey}
new
parameters={Array<ParameterProps>}
private
protected
public
refkey={Refkey}
returns={Children}
typeParameters={(TypeParameterProps | string)[]}
>
{children}
</InterfaceMethod>
attributesoptionalAttributesPropDefine attributes to attach
childrenoptionalChildren
docoptionalChildrenDoc comment
fileoptional boolean
internaloptional boolean
namestring | Namekey
newoptional boolean
parametersoptional Array<ParameterProps>
privateoptional boolean
protectedoptional boolean
publicoptional boolean
refkeyoptionalRefkey
returnsoptionalChildren
typeParametersoptional (TypeParameterProps | string)[]Type parameters for the method