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>import { InterfaceMethod } from "@alloy-js/csharp/stc";
InterfaceMethod({ attributes: AttributesProp, doc: Children, file: boolean, internal: boolean, name: string | Namekey, new: boolean, parameters: Array<ParameterProps>, private: boolean, protected: boolean, public: boolean, refkey: Refkey, returns: Children, typeParameters: (TypeParameterProps | string)[],}).children(children)| attributes | optionalAttributesPropDefine attributes to attach |
| children | optionalChildren |
| doc | optionalChildrenDoc comment |
| file | optionalboolean |
| internal | optionalboolean |
| name | string | Namekey |
| new | optionalboolean |
| parameters | optionalArray<ParameterProps> |
| private | optionalboolean |
| protected | optionalboolean |
| public | optionalboolean |
| refkey | optionalRefkey |
| returns | optionalChildren |
| typeParameters | optional(TypeParameterProps | string)[]Type parameters for the method |