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 theWith -prefixed methods to set properties. When you're done, access the FunctionType property to get the final, constructedFunctionType .

Methods

Name
Description

Creates a new FunctionTypeBuilder based on a delegate type.

Adds a new parameter of type parameterType to the FunctionType .

Properties

Name
Description

Gets the FunctionType instance constructed by this FunctionTypeBuilder .

Last updated

Was this helpful?