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 | optional AttributesProp | Define attributes to attach |
| children | optional Children | |
| doc | optional Children | Doc comment |
| file | optional boolean | |
| internal | optional boolean | |
| name | string | Namekey | |
| new | optional boolean | |
| parameters | optional Array<ParameterProps> | |
| private | optional boolean | |
| protected | optional boolean | |
| public | optional boolean | |
| refkey | optional Refkey | |
| returns | optional Children | |
| typeParameters | optional (TypeParameterProps | string)[] | Type parameters for the method |