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>
attributesoptional AttributesPropDefine attributes to attach
childrenoptional Children
docoptional ChildrenDoc comment
fileoptional boolean
internaloptional boolean
namestring | Namekey
newoptional boolean
parametersoptional Array<ParameterProps>
privateoptional boolean
protectedoptional boolean
publicoptional boolean
refkeyoptional Refkey
returnsoptional Children
typeParametersoptional (TypeParameterProps | string)[]Type parameters for the method