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