WithParameter(IType)

Method in FunctionTypeBuilder

Summary

Adds a new parameter of type parameterType to the FunctionType .

public FunctionTypeBuilder WithParameter(IType parameterType)

Parameters

NameDescription

Yarn.IType parameterType

The type of the new parameter to add to the function.

Returns

The FunctionTypeBuilder instance that received this method call.

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.