FunctionTypeBuilder

Class in Yarn.Compiler

Inherits from System.Object

Summary

Provides methods for constructing FunctionType objects.

public class FunctionTypeBuilder

Remarks

To use this class, create an instance of it, and call the With -prefixed methods to set properties. When you're done, access the FunctionType property to get the final, constructed FunctionType .

Methods

NameDescription

Adds a new parameter of type parameterType to the FunctionType .

Sets the ReturnType of the FunctionType .

Properties

NameDescription

Gets the FunctionType instance constructed by this FunctionTypeBuilder .

Last updated

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